MCPcopy Index your code
hub / github.com/git-bug/git-bug / HasPrefix

Method HasPrefix

entity/id.go:41–43  ·  view source on GitHub ↗
(prefix string)

Source from the content-addressed store, hash-verified

39}
40
41func (i Id) HasPrefix(prefix string) bool {
42 return strings.HasPrefix(string(i), prefix)
43}
44
45// UnmarshalGQL implement the Unmarshaler interface for gqlgen
46func (i *Id) UnmarshalGQL(v interface{}) error {

Callers 15

MatchMethod · 0.45
ResolvePrefixMethod · 0.45
ResolveExcerptPrefixMethod · 0.45
ResolveCommentMethod · 0.45
LoadWithPrefixFunction · 0.45
ListFunction · 0.45
metaFromDataFunction · 0.45
KindMethod · 0.45
ConfigureMethod · 0.45
LsFunction · 0.45
parseMessageMethod · 0.45
processCreateFunction · 0.45

Calls

no outgoing calls

Tested by 3

parseMessageMethod · 0.36
assertEqualRefsFunction · 0.36
assertNotEqualRefsFunction · 0.36