MCPcopy Create free account
hub / github.com/corestoreio/pkg / IndexLabel

Method IndexLabel

config/_cfgsource/slice.go:190–197  ·  view source on GitHub ↗

IndexLabel checks if label l exists and returns its first position. Returns -1 when the label was not found.

(l string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ContainsLabelMethod · 0.95

Calls 1

LabelMethod · 0.80

Tested by

no test coverage detected