Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGitCmdObjBuilder ¶ added in v0.32.1
func NewGitCmdObjBuilder(log *logrus.Entry, innerBuilder *oscommands.CmdObjBuilder) *gitCmdObjBuilder
func VerifyInGitRepo ¶ added in v0.27.1
func VerifyInGitRepo(osCommand *oscommands.OSCommand) error
Types ¶
type GitCommand ¶
type GitCommand struct { Branch *git_commands.BranchCommands Commit *git_commands.CommitCommands Config *git_commands.ConfigCommands Custom *git_commands.CustomCommands File *git_commands.FileCommands Flow *git_commands.FlowCommands Patch *git_commands.PatchCommands Rebase *git_commands.RebaseCommands Remote *git_commands.RemoteCommands Stash *git_commands.StashCommands Status *git_commands.StatusCommands Submodule *git_commands.SubmoduleCommands Sync *git_commands.SyncCommands Tag *git_commands.TagCommands WorkingTree *git_commands.WorkingTreeCommands Loaders Loaders }
GitCommand is our main git interface
func NewGitCommand ¶
func NewGitCommand( cmn *common.Common, osCommand *oscommands.OSCommand, gitConfig git_config.IGitConfig, ) (*GitCommand, error)
func NewGitCommandAux ¶ added in v0.32.1
func NewGitCommandAux( cmn *common.Common, osCommand *oscommands.OSCommand, gitConfig git_config.IGitConfig, dotGitDir string, repo *gogit.Repository, ) *GitCommand
type Loaders ¶ added in v0.32.1
type Loaders struct { Branches *loaders.BranchLoader CommitFiles *loaders.CommitFileLoader Commits *loaders.CommitLoader Files *loaders.FileLoader ReflogCommits *loaders.ReflogCommitLoader Remotes *loaders.RemoteLoader Stash *loaders.StashLoader Tags *loaders.TagLoader }
Click to show internal directories.
Click to hide internal directories.