MCPcopy Create free account
hub / github.com/Permify/permify / AttributeID

Method AttributeID

pkg/database/memory/memory.go:38–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38func (m *Memory) AttributeID() (id uint64) {
39 m.Lock()
40 defer m.Unlock()
41 if m.aid == 0 {
42 m.aid++
43 }
44 id = m.aid
45 m.aid++
46 return id
47}
48
49// GetEngineType - Gets engine type, returns as string
50func (m *Memory) GetEngineType() string {

Callers 2

WriteMethod · 0.80
runOperationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected