MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / MetadataIndex

Method MetadataIndex

server/entity/entity.go:104–108  ·  view source on GitHub ↗
(i byte)

Source from the content-addressed store, hash-verified

102}
103
104func (p *Entity) MetadataIndex(i byte) any {
105 p.md_mu.RLock()
106 defer p.md_mu.RUnlock()
107 return p.metadata[i]
108}
109
110func (p *Entity) SetMetadataIndex(i byte, v any) {
111 p.md_mu.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected