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

Method Metadata

server/entity/entity.go:92–96  ·  view source on GitHub ↗

Metadata returns a clone of the metadata of this state

()

Source from the content-addressed store, hash-verified

90
91// Metadata returns a clone of the metadata of this state
92func (p *Entity) Metadata() metadata.Metadata {
93 p.md_mu.RLock()
94 defer p.md_mu.RUnlock()
95 return maps.Clone(p.metadata)
96}
97
98func (p *Entity) SetMetadata(md metadata.Metadata) {
99 p.md_mu.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected