Skip to content

Expose a Git repository as a filesystem for the http package

License

Notifications You must be signed in to change notification settings

carlosmn/go.gitfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 26, 2014
7c62259 · May 26, 2014

History

7 Commits
May 24, 2014
May 24, 2014
May 25, 2014
May 26, 2014

Repository files navigation

GitFS

This lets you present a Git repository as a http.FileSystem to let the http package take care of the HTTP for you.

Dependencies

This uses git2go which uses libgit2. This means you need a compatible version of libgit2 installed and accessible on your system. At some point libgit2 will have a static version, which will make this simpler.

Usage

GoDoc

The constructors let you do more or less work depending on how much information you have. You can pass in a tree, a reference or simply the name.

The tree will be used as the root of the filesystem.

About

Expose a Git repository as a filesystem for the http package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages