MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / Count

Method Count

pkg/generic_sync/map.go:361–363  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

359}
360
361func (m *MapOf[K, V]) Count() int {
362 return len(m.dirty)
363}
364
365func (m *MapOf[K, V]) Empty() bool {
366 return m.Count() == 0

Callers 12

EmptyMethod · 0.95
deleteFolderMethod · 0.80
calculateDepthFunction · 0.80
getStoragesByPathFunction · 0.80
GetStoragesFunction · 0.80
GetSharingsFunction · 0.80
GetSharingsByCreatorIdFunction · 0.80
GetSSHPublicKeyByUserIdFunction · 0.80
GetSSHPublicKeysFunction · 0.80
GetMetasFunction · 0.80
GetUsersFunction · 0.80
SearchNodeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected