Crate difft[][src]

Expand description

Difftastic is a syntactic diff tool.

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

Modules

File reading utilities.

A fallback “parser” for plain text.

Manipulate lines of text and groups of lines.

CLI option parsing.

Represents positions within a string.

Data types summarising the result of diffing content.

Statics

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.

Print a diff between two files.

The entrypoint.

Return a copy of str with all the tab characters replaced by tab_width strings.

Terminate the process if we get SIGPIPE.