Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentSignature ¶
func (ContentSignature) GetComment ¶
func (c ContentSignature) GetComment() string
func (ContentSignature) GetDescription ¶
func (c ContentSignature) GetDescription() string
func (ContentSignature) Match ¶
func (c ContentSignature) Match(target MatchTarget) (bool, error)
type FileSignature ¶
func (FileSignature) GetComment ¶
func (f FileSignature) GetComment() string
func (FileSignature) GetDescription ¶
func (f FileSignature) GetDescription() string
func (FileSignature) Match ¶
func (f FileSignature) Match(target MatchTarget) (bool, error)
type FileSignatureType ¶
type Finding ¶
type Finding struct { Id string FilePath string Action string FileSignatureDescription string FileSignatureComment string ContentSignatureDescription string ContentSignatureComment string RepositoryOwner string RepositoryName string CommitHash string CommitMessage string CommitAuthor string FileUrl string CommitUrl string RepositoryUrl string CloneUrl string }
func (*Finding) Initialize ¶
type MatchTarget ¶
func NewMatchTarget ¶
func NewMatchTarget(path string) MatchTarget
func (*MatchTarget) IsSkippable ¶
func (f *MatchTarget) IsSkippable() bool
type Signatures ¶
type Signatures struct { FileSignatures []FileSignature ContentSignatures []ContentSignature }
func (*Signatures) Load ¶
func (s *Signatures) Load(mode int) error
Click to show internal directories.
Click to hide internal directories.