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

Method Add

tui/cache.go:27–31  ·  view source on GitHub ↗
(key string, val *ldap.Entry)

Source from the content-addressed store, hash-verified

25}
26
27func (sc *EntryCache) Add(key string, val *ldap.Entry) {
28 sc.lock.Lock()
29 sc.entries[key] = val
30 sc.lock.Unlock()
31}
32
33func (sc *EntryCache) Get(key string) (*ldap.Entry, bool) {
34 sc.lock.Lock()

Callers 15

createTreeNodeFromEntryFunction · 0.80
reloadAttributesPanelFunction · 0.80
renderPartialTreeFunction · 0.80
executeSearchFunction · 0.80
FormatLDAPTimeFunction · 0.80
FormatLDAPTime2Function · 0.80
AddMemberToGroupMethod · 0.80
AddGroupMethod · 0.80
AddOrganizationalUnitMethod · 0.80
AddContainerMethod · 0.80
AddComputerMethod · 0.80
AddUserMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected