synology_apm_repo.sdk.units.file_map_tree module¶
FileMapTreeProvider: a diagnostic fallback browsing axis straight
off db/file_map, reached via Repository.file_map_tree() and usable
even when catalog metadata is missing or empty. Its child index costs one
full-table scan of file_map, done once per provider.
It exposes internal file_map paths directly, so it is
diagnostic-mode only, never shown in the default end-user tree.
- class synology_apm_repo.sdk.units.file_map_tree.FileMapTreeProvider(repo)¶
Bases:
AsyncClosingClosableUnitProviderthat turnsdb/file_map’spathcolumn — treated as/-separated segments — directly into a browsable tree, one leaf per row. It reads through the repository’s own connections, so closing only drops its index.- async close()¶
- root()¶
The
file_maproot. No I/O.
- async children(node, offset=0, limit=None)¶
- async unit(node)¶