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

Method SetMetadataIndexes

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

Source from the content-addressed store, hash-verified

114}
115
116func (p *Entity) SetMetadataIndexes(md metadata.Metadata) {
117 p.md_mu.Lock()
118 defer p.md_mu.Unlock()
119 for index, value := range md {
120 p.metadata[index] = value
121 }
122}
123
124func (p *Entity) DimensionName() string {
125 return p.dimensionName.Get()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected