Documentation ¶
Index ¶
- func GetChangedFilesBetweenRefs(dirPath *string, from string, to string) ([]string, error)
- func GetFilesChangedNCommitsBefore(dirPath *string, n int) ([]string, error)
- func GetFilesToBePushed(dirPath *string) ([]string, error)
- func GetNotStagedFiles(dirPath *string) ([]string, error)
- func GetRepoPath(start *string) (string, error)
- func GetStagedFiles(dirPath *string) ([]string, error)
- type GitRefDelimiter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChangedFilesBetweenRefs ¶ added in v0.5.0
func GetFilesChangedNCommitsBefore ¶ added in v0.5.0
func GetFilesToBePushed ¶ added in v0.5.0
func GetNotStagedFiles ¶
func GetRepoPath ¶
GetRepoPath returns the absolute path of the folder containing the git repository for the current working directory.
func GetStagedFiles ¶
Types ¶
type GitRefDelimiter ¶
Click to show internal directories.
Click to hide internal directories.