Determine whether two files are copies of each other
Add this to your Cargo.toml:
toml
[dependencies]
is_copy = "0.1"
Create and determin file using is_copy:
```rust use iscopy::isfile_copy;
let patha = Path::new("./data/filea.txt"); let pathb = Path::new("./data/fileb.txt");
let iscopy = isfilecopy(patha, pathb); println!("{:?} and {:?} is copy: {}", iscopy); ```
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.