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

Method SetMetadata

server/entity/entity.go:98–102  ·  view source on GitHub ↗
(md metadata.Metadata)

Source from the content-addressed store, hash-verified

96}
97
98func (p *Entity) SetMetadata(md metadata.Metadata) {
99 p.md_mu.Lock()
100 defer p.md_mu.Unlock()
101 p.metadata = md
102}
103
104func (p *Entity) MetadataIndex(i byte) any {
105 p.md_mu.RLock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected