import "github.com/go-git/go-git/plumbing/transport/file"
Package file implements the file transport protocol.
var DefaultClient = NewClient( transport.UploadPackServiceName, transport.ReceivePackServiceName, )
DefaultClient is the default local client.
NewClient returns a new local client using the given git-upload-pack and git-receive-pack binaries.
ServeReceivePack serves a git-receive-pack request using standard output, input and error. This is meant to be used when implementing a git-receive-pack command.
ServeUploadPack serves a git-upload-pack request using standard output, input and error. This is meant to be used when implementing a git-upload-pack command.
Package file imports 12 packages (graph). Updated 2020-11-28. Refresh now. Tools for package owners.