Documentation
¶
Index ¶
- Variables
- func CommitAndPush(r *git.Repository, msg string) (string, error)
- func GetCurrentBranchFromRepository(r *git.Repository) (string, error)
- func ReadRepoFile(r *git.Repository, path string) ([]byte, error)
- func ShallowClone(url string, branch string, depth int) (*git.Repository, error)
- func WriteRepoFile(r *git.Repository, path string, data []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var NoChangesError = fmt.Errorf("no changes")
Functions ¶
func CommitAndPush ¶
func ReadRepoFile ¶
func ShallowClone ¶
func WriteRepoFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.