Documentation ¶
Overview ¶
Package file implements the file transport protocol.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultClient = NewClient( transport.UploadPackServiceName, transport.ReceivePackServiceName, )
DefaultClient is the default local client.
Functions ¶
func NewClient ¶
NewClient returns a new local client using the given git-upload-pack and git-receive-pack binaries.
func ServeReceivePack ¶
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.
func ServeUploadPack ¶
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.