Documentation ¶
Index ¶
- type Vcs
- func (_m *Vcs) Diff(args ...string) (string, error)
- func (_m *Vcs) LatestRevision(file string) (string, error)
- func (_m *Vcs) Log(args ...string) (string, error)
- func (_m *Vcs) Root() (string, error)
- func (_m *Vcs) ShowContentAtRevision(path string, revision string) (string, error)
- func (_m *Vcs) Status(args ...string) (string, error)
- type VersioningClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vcs ¶
Vcs is an autogenerated mock type for the Vcs type
func (*Vcs) LatestRevision ¶
LatestRevision provides a mock function with given fields: file
func (*Vcs) ShowContentAtRevision ¶
ShowContentAtRevision provides a mock function with given fields: path, revision
type VersioningClient ¶
VersioningClient is an autogenerated mock type for the VersioningClient type
func (*VersioningClient) AddMetadata ¶
func (_m *VersioningClient) AddMetadata(changes []vcs.FileChange, clock helper.Clock) ([]vcs.FileChange, error)
AddMetadata provides a mock function with given fields: changes, clock
func (*VersioningClient) GetChanges ¶
func (_m *VersioningClient) GetChanges(revision string) ([]vcs.FileChange, error)
GetChanges provides a mock function with given fields: revision
func (*VersioningClient) GetClient ¶
func (_m *VersioningClient) GetClient() vcs.Vcs
GetClient provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.