Documentation ¶
Index ¶
- func DiffFile(repoPath string, hash, file string) ([]string, error)
- func DiffPrev(repoPath string, hash string) ([]string, error)
- func ShowFile(repoPath string, hash string, filename string) (string, error)
- type Config
- func (gc Config) Checkout(repoPath string, branch string) error
- func (gc Config) CloneOrPull(url, repoPath string) (map[string]struct{}, error)
- func (gc Config) Commit(repoPath, targetPath, message string) error
- func (gc Config) Push(url, repoPath, branch string) error
- func (gc Config) RemoteBranch(repoPath string) ([]string, error)
- func (gc Config) Status(repoPath string) ([]string, error)
- type Operations
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { }
Config :
func (Config) CloneOrPull ¶
CloneOrPull :
func (Config) RemoteBranch ¶
RemoteBranch :
Click to show internal directories.
Click to hide internal directories.