Function identical_content_local

Source
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 destination
  • repo - repository
  • path - path of the file in the snapshot
  • node - node of the file in the snapshot

§Errors

§Returns

true if the content of the file in the snapshot is identical to the content of the local file, false otherwise