Skip to main content

unrecognized_children

Function unrecognized_children 

Source
fn unrecognized_children(
    directory: &Path,
    adapters: &[&dyn Adapter],
    io_context: &str,
) -> Result<usize>
Expand description

The number of child directories of a listed profile directory that are not known agent ids: each one is an unrecognized entry and the caller’s ignored grows by one per child. A child file is never counted — only child directories can be unrecognized — and a child entry whose name starts with . is skipped without counting, mirroring the profiles-directory rule: the same OS litter (*.swp, .DS_Store) must behave the same one level deeper.