Expand description
Ancestor folder-chain resolution for crate::drive::write_gate (issue
#1574).
Impure sibling to write_gate — mirrors crate::drive::file_move’s
role relative to crate::drive::visibility: this module does the
fetching, write_gate does the (pure) classifying.
Structs§
- Ancestor
Chain - A target folder’s resolved ancestor chain.
Functions§
- resolve_
ancestor_ chain - Walks
start_folder_id→ parent → grandparent → … viafiles.get, stopping at Drive’s root (a folder with noparents). - resolve_
decision - Resolves
opagainststart_folder_id’s ancestor chain underrules, walking onefiles.getat a time and stopping as soon as some depth decides it. - resolve_
decision_ for_ parents - Resolves
opagainstparents(a target’s current parent ids). - resolve_
decision_ from resolve_decision, but for a caller that already has the starting folder’s metadata in hand.