MCPcopy Create free account
hub / github.com/Macmod/godap / Get

Method Get

tui/cache.go:33–38  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

31}
32
33func (sc *EntryCache) Get(key string) (*ldap.Entry, bool) {
34 sc.lock.Lock()
35 defer sc.lock.Unlock()
36 entry, ok := sc.entries[key]
37 return entry, ok
38}
39
40func (sc *EntryCache) Length() int {
41 sc.lock.Lock()

Callers 7

createTreeNodeFromEntryFunction · 0.80
handleAttrsKeyCtrlEFunction · 0.80
handleAttrsKeyEnterFunction · 0.80
reloadAttributesPanelFunction · 0.80
updateEmojisFunction · 0.80
exportCacheToFileFunction · 0.80
openUpdateUacFormFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected