MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / on_folder

Function on_folder

keepercommander/subfolder.py:248–252  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

246
247def get_contained_folder_uids(params, name, children_only=True):
248 def on_folder(f):
249 f_uid = f.uid or ''
250 parent_uid = f.parent_uid or ''
251 if f_uid and f_uid not in root_folder_uids and (not children_only or parent_uid in root_folder_uids):
252 folder_uids.add(f_uid)
253
254 folder_uids = set()
255 root_folder_uids = get_folder_uids(params, name)

Callers

nothing calls this directly

Calls 2

add_child_recsFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected