MCPcopy Index your code
hub / github.com/cheat/cheat / Tagged

Method Tagged

internal/sheet/tagged.go:6–8  ·  view source on GitHub ↗

Tagged returns true if a sheet was tagged with `needle`

(needle string)

Source from the content-addressed store, hash-verified

4
5// Tagged returns true if a sheet was tagged with `needle`
6func (s *Sheet) Tagged(needle string) bool {
7 return slices.Contains(s.Tags, needle)
8}

Callers 4

TestTaggedFunction · 0.95
FuzzTaggedFunction · 0.95
FilterFunction · 0.80
FuzzFilterFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestTaggedFunction · 0.76
FuzzTaggedFunction · 0.76
FuzzFilterFunction · 0.64