pub fn base_diff_inputs_with_candidate(
root: &Path,
base: &ResolvedBase,
candidate_files: &[FileEntry],
candidate_manifests: &[(RelativePath, Vec<u8>)],
) -> Result<BaseDiffInputs, BaseInputsError>Expand description
Loads diff inputs, using candidate declarations only when the managed root has no base object.
This narrow bootstrap path lets a complete managed workspace be introduced below an existing
repository. Once the base contains any object below root, base declarations remain the sole
ownership authority.
ยงErrors
Returns coded listing/blob/discovery failures or GitToolError when Git cannot start.