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

Method SetMetadataIndex

server/entity/entity.go:110–114  ·  view source on GitHub ↗
(i byte, v any)

Source from the content-addressed store, hash-verified

108}
109
110func (p *Entity) SetMetadataIndex(i byte, v any) {
111 p.md_mu.Lock()
112 defer p.md_mu.Unlock()
113 p.metadata[i] = v
114}
115
116func (p *Entity) SetMetadataIndexes(md metadata.Metadata) {
117 p.md_mu.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected