Enum git_historian::Change [] [src]

pub enum Change {
    Added,
    Deleted,
    Modified,
    Renamed {
        percent_changed: u8,
    },
    Copied {
        percent_changed: u8,
    },
}

A change to a file in Git (or at least the kinds we care about)

Copies and renames have additional info: how much of the file remained the same.

Variants

Fields of Renamed

Fields of Copied

Trait Implementations

impl Debug for Change
[src]

Formats the value using the given formatter.

impl Copy for Change
[src]

impl Clone for Change
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more