MCPcopy Index your code
hub / github.com/git-lfs/git-lfs / Contains

Method Contains

tools/stringset.go:42–45  ·  view source on GitHub ↗

Determines if a given item is already in the set.

(i string)

Source from the content-addressed store, hash-verified

40
41// Determines if a given item is already in the set.
42func (set StringSet) Contains(i string) bool {
43 _, found := set[i]
44 return found
45}
46
47// Determines if the given items are all in the set
48func (set StringSet) ContainsAll(i ...string) bool {

Callers 3

IntersectMethod · 0.95
calcSkippedRefsFunction · 0.95
prepareUploadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected