fn owned_named_path( path: &Path, directory: &Path, expected_name: &str, ) -> Result<bool>
Recognize a managed entry without treating unresolved ownership as external.