Documentation
¶
Index ¶
- type VcsHandle
- func (v VcsHandle) Add(repobasedir string, files []string) error
- func (v *VcsHandle) CommitTitle(title string)
- func (v VcsHandle) DebugCommits() commitlater.List
- func (v VcsHandle) Discover() (bool, string)
- func (v VcsHandle) FlushCommits() error
- func (v VcsHandle) IgnoreAnywhere(repobasedir string, files []string) error
- func (v VcsHandle) IgnoreFiles(repobasedir string, files []string) error
- func (v VcsHandle) Name() string
- func (v *VcsHandle) NeedsCommit(message string, repobasedir string, names []string)
- func (v VcsHandle) SetFileTypeUnix(repobasedir string, files ...string) error
- func (v VcsHandle) TestingInitRepo() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VcsHandle ¶
type VcsHandle struct {
// contains filtered or unexported fields
}
VcsHandle is the handle
func (*VcsHandle) CommitTitle ¶
CommitTitle indicates what the next commit title will be. This is used if a group of commits are merged into one.
func (VcsHandle) DebugCommits ¶
func (v VcsHandle) DebugCommits() commitlater.List
DebugCommits dumps the list of future commits.
func (VcsHandle) Discover ¶
Discover returns true if we are a repo of this type; along with the Abs path to the repo root (or "" if we don't know).
func (VcsHandle) FlushCommits ¶
FlushCommits informs the VCS to do queued up commits.
func (VcsHandle) IgnoreAnywhere ¶
IgnoreAnywhere tells the VCS to ignore these files anywhere rin the repo.
func (VcsHandle) IgnoreFiles ¶
IgnoreFiles tells the VCS to ignore these files, specified relative to RepoBaseDir.
func (*VcsHandle) NeedsCommit ¶
NeedsCommit queues up commits for later execution.
func (VcsHandle) SetFileTypeUnix ¶
SetFileTypeUnix informs the VCS that files should maintain unix-style line endings.
func (VcsHandle) TestingInitRepo ¶
TestingInitRepo initializes a repo.