MCPcopy
hub / github.com/eth0izzle/shhgit / Signature

Interface Signature

core/signatures.go:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16)
17
18type Signature interface {
19 Name() string
20 Match(file MatchFile) (bool, string)
21 GetContentsMatches(file MatchFile) []string
22}
23
24type SimpleSignature struct {
25 part string

Callers 4

processRepositoryOrGistFunction · 0.65
processRepositoryOrGistFunction · 0.65
MatchMethod · 0.65
processRepositoryOrGistFunction · 0.65

Implementers 2

SimpleSignaturecore/signatures.go
PatternSignaturecore/signatures.go

Calls

no outgoing calls

Tested by

no test coverage detected