Documentation ¶
Index ¶
Constants ¶
View Source
const ( LsBlob = iota LsTree )
Tree object types
Variables ¶
View Source
var ErrInvalidHash = errors.New("git: commit: not a hash")
ErrInvalidHash is used in gitweb to determine if the request error was from a bad request or happened running git.
View Source
var ErrNotExist = errors.New("git: show: file does not exist")
ErrNotExist is used in gitweb to determine if the request error was from a bad request or happened running git.
Functions ¶
This section is empty.
Types ¶
type Git ¶
type Git struct {
// contains filtered or unexported fields
}
Git is a wrapper for restricted git commands useful to gitweb.
Click to show internal directories.
Click to hide internal directories.