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)