fn identical_content_local<P, S: IndexedFull>(
local: &LocalDestination,
repo: &Repository<P, S>,
path: &Path,
node: &Node,
) -> Result<bool>
Expand description
Check if the content of a file in a snapshot is identical to the content of a local file
§Arguments
local
- local destinationrepo
- repositorypath
- path of the file in the snapshotnode
- node of the file in the snapshot
§Errors
RepositoryErrorKind::IdNotFound
- If the id of a blob is not found in the repository
§Returns
true
if the content of the file in the snapshot is identical to the content of the local file,
false
otherwise