Crate scm_diff_editor

Source
Expand description

An interactive difftool for use in VCS programs like Jujutsu or Git.

Modules§

testing
Testing utilities.

Structs§

DiffContext
Information about the files to display/diff in the UI.
FileInfo
Information about a file that was read from disk. Note that the file may not have existed, in which case its contents will be marked as absent.
Opts
Render a partial commit selector for use as a difftool or mergetool.

Enums§

Error
FileContents
Representation of a file’s contents.

Traits§

Filesystem
Abstraction over the filesystem.

Functions§

apply_changes
After the user has selected changes in the provided RecordState, write the results to the provided Filesystem.
process_opts
Process the command-line options to find the files to diff.
run
Select changes interactively and apply them to disk.

Type Aliases§

Result
Result type alias.