Struct git_checks::DiffInfo
source · pub struct DiffInfo {
pub old_mode: String,
pub old_blob: CommitId,
pub new_mode: String,
pub new_blob: CommitId,
pub name: FileName,
pub status: StatusChange,
}Expand description
Information about a file that changed in a commit.
Fields§
§old_mode: StringThe mode of the file in the parent commit.
old_blob: CommitIdThe blob object of the file in the parent commit.
new_mode: StringThe mode of the file in the current commit.
new_blob: CommitIdThe blob object of the file in the current commit.
name: FileNameThe name of the file in the current commit.
status: StatusChangeThe status mode of the file.