MCPcopy
hub / github.com/perkeep/perkeep / Key

Method Key

pkg/sorted/mem.go:81–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79}
80
81func (s *memIter) Key() string {
82 if s.k != nil {
83 return *s.k
84 }
85 str := string(s.KeyBytes())
86 s.k = &str
87 return str
88}
89
90func (s *memIter) Value() string {
91 if s.v != nil {

Callers

nothing calls this directly

Calls 1

KeyBytesMethod · 0.95

Tested by

no test coverage detected