Module difft::files

source · []
Expand description

File reading utilities.



Write a human-friendly description of e to stderr.

Do these bytes look like a binary (non-textual) format?

Read a path provided in a CLI argument, handling /dev/null and - correctly.

All the files in dir, including subdirectories.

Walk lhs_dir and rhs_dir, and return relative paths of files that occur in at least one directory.

Group bytes into u16 values for conversion to UTF-16, respecting the byte order mark if present.