Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Receive ¶
Receive receives a Git repo. This will only work for git-receive-pack.
Params:
- operation (string): e.g. git-receive-pack
- repoName (string): The repository name, in the form '/REPO.git'.
- channel (ssh.Channel): The channel.
- request (*ssh.Request): The channel.
- gitHome (string): Defaults to /home/git.
- userInfo (*controller.UserInfo): Deis user information.
Returns:
- nothing
Types ¶
type ErrInvalidGitSha ¶
type ErrInvalidGitSha struct {
// contains filtered or unexported fields
}
ErrInvalidGitSha is returned by NewSha if the given raw sha is invalid for any reason.
func (ErrInvalidGitSha) Error ¶
func (e ErrInvalidGitSha) Error() string
Error is the error interface implementation.
Click to show internal directories.
Click to hide internal directories.