Crate difft

source · []
Expand description

Difftastic is a syntactic diff tool.

For usage instructions and advice on contributing, see the manual.

Modules

conflicts 🔒

Apply conflict markers to obtain the original file contents.

constants 🔒
diff 🔒
display 🔒
exit_codes 🔒
files 🔒

File reading utilities.

hash 🔒

A fallback “parser” for plain text.

lines 🔒

Manipulate lines of text and groups of lines.

options 🔒

CLI option parsing.

parse 🔒
summary 🔒

Data types summarising the result of diffing content.

version 🔒
words 🔒

Statics

GLOBAL 🔒

The global allocator used by difftastic.

Functions

Given two directories that contain the files, compare them pairwise. Returns an iterator, so we can print results incrementally.

diff_file 🔒

Print a diff between two files.

main 🔒

The entrypoint.

Terminate the process if we get SIGPIPE.