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