Table of Contents

Class Change

Namespace
Invex.RepoUtils.Atom.Module.Model
Assembly
Invex.RepoUtils.Atom.Module.dll

Represents the set of line-level changes detected for a single file when diffing two commits.

public sealed record Change
Inheritance
object
Change

Constructors

Change(RootedPath, List<string>, List<string>)

Represents the set of line-level changes detected for a single file when diffing two commits.

public Change(RootedPath Path, List<string> AddedLines, List<string> DeletedLines)

Parameters

Path RootedPath

The absolute, rooted path of the file that was changed.

AddedLines List<string>

The content of lines that were added to the file in the newer commit.

DeletedLines List<string>

The content of lines that were removed from the file relative to the older commit.

Properties

AddedLines

The content of lines that were added to the file in the newer commit.

public List<string> AddedLines { get; init; }

Property Value

List<string>

DeletedLines

The content of lines that were removed from the file relative to the older commit.

public List<string> DeletedLines { get; init; }

Property Value

List<string>

Path

The absolute, rooted path of the file that was changed.

public RootedPath Path { get; init; }

Property Value

RootedPath