file

package
v4.0.0-rc7+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

DefaultClient is the default local client.

Functions

func NewClient

func NewClient(uploadPackBin, receivePackBin string) transport.Transport

NewClient returns a new local client using the given git-upload-pack and git-receive-pack binaries.

func ServeReceivePack

func ServeReceivePack(path string) error

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

func ServeUploadPack(path string) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL