MCPcopy
hub / github.com/perkeep/perkeep / Value

Method Value

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

Source from the content-addressed store, hash-verified

88}
89
90func (s *memIter) Value() string {
91 if s.v != nil {
92 return *s.v
93 }
94 str := string(s.ValueBytes())
95 s.v = &str
96 return str
97}
98
99func (mk *memKeys) Get(key string) (string, error) {
100 mk.mu.Lock()

Callers

nothing calls this directly

Calls 1

ValueBytesMethod · 0.95

Tested by

no test coverage detected