Skip to main content

discover_repository_structure_controlled

Function discover_repository_structure_controlled 

Source
pub fn discover_repository_structure_controlled(
    path: &Path,
    control: &IndexWorkControl,
) -> FsResult<RepositoryStructure>
Expand description

Discover one repository structure under caller-owned cancellation and deadline control.

ยงErrors

Returns an error when cooperative work stops, filesystem evidence cannot be read, or the bounded registration inventory is exceeded. Malformed Git evidence is returned as typed discovery state rather than silently downgraded to non-Git.