Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInterrupted = errors.New("interrupted")
Functions ¶
Types ¶
type Client ¶
type Client interface { BranchTargets(string) (map[string]string, error) Clone(string, string) error GetParents(string, string) ([]string, error) Fetch(string) (map[string][]string, error) HardReset(string, string) error Diff(repoPath, parent, child string) (string, error) BranchCredentialCounts(lager.Logger, string, sniff.Sniffer) (map[string]uint, error) }
type FileLookup ¶
type FileLookup interface {
FileContents(repoPath string, branch string, filePath string) ([]byte, error)
}
func NewFileLookup ¶
func NewFileLookup() FileLookup
type Looper ¶
type Looper interface {
ScanCurrentState(repositoryPath string, callback ScanCallback) error
}
type ScanCallback ¶
Click to show internal directories.
Click to hide internal directories.