Documentation ¶
Index ¶
- func AddCommitToBranchFile(branchName string, cmt models.Commit, filePath string) error
- func CreateDirectory(directoryPath string) error
- func CreateDirectoryAndFileIfNotExist() error
- func GetHomeDir() (string, error)
- func GetLastCommitForBranchFromFile(branchName string, filepath string) (*models.Commit, error)
- func GetRepoNameHash() string
- func LogFatal(err error)
- func LogNonFatal(err error)
- func LogOutput(output string)
- func ReadBranchesFile(filePath string) (map[string][]models.Commit, error)
- func ReadInput(multi bool) string
- func RunCommand(name string, args []string, stdin string) (string, error)
- func StartOkgit() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommitToBranchFile ¶
func CreateDirectory ¶ added in v1.0.18
func CreateDirectoryAndFileIfNotExist ¶
func CreateDirectoryAndFileIfNotExist() error
func GetHomeDir ¶ added in v1.0.18
func GetRepoNameHash ¶ added in v1.0.18
func GetRepoNameHash() string
func LogNonFatal ¶ added in v1.0.18
func LogNonFatal(err error)
func RunCommand ¶ added in v1.0.8
func StartOkgit ¶ added in v1.0.18
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.