Docs.rs
  • filecmp-0.2.0
    • filecmp 0.2.0
    • Permalink
    • Docs.rs crate page
    • LGPL-3.0-only
    • Links
    • crates.io
    • Source
    • Owners
    • owtotwo
    • Dependencies
      • lazy_static ^1.4.0 normal
      • clap ^2 dev
    • Versions
    • 62.5% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate filecmp

filecmp0.2.0

  • All Items

Sections

  • Example

Crate Items

  • Structs
  • Functions

Crates

  • filecmp

Crate filecmp

Source
Expand description

Utilities for comparing files and directories(WIP).

Struct like in Python3 std-lib:

  • DirCmp

Functions like in Python3 std-lib:

  • cmp(f1, f2, shallow: bool) -> int
  • cmpfiles(a, b, common) -> ([], [], [])
  • clear_cache()

§Example

Check out Example for cmp()

Structs§

DirCmp
A struct that manages the comparison of 2 directories. (WIP)

Functions§

clear_cache
Clear the filecmp cache.
cmp
Compare two files.
cmpfiles
Compare common files in two directories. (WIP)

Results

Settings
Help

Query parser error: "Unexpected - (did you mean ->?)".