Table of Contents

Class GitDiffFile

Namespace
Nexus.Api.V1
Assembly
Nexus.Api.dll

A changed file in a Git commit.

public record GitDiffFile : IEquatable<GitDiffFile>
Inheritance
GitDiffFile
Implements
Inherited Members

Constructors

GitDiffFile(string, string, string?, string?)

A changed file in a Git commit.

public GitDiffFile(string Path, string Status, string? OriginalText, string? ModifiedText)

Parameters

Path string

The repository-relative file path.

Status string

The Git file status.

OriginalText string

The file text before the commit.

ModifiedText string

The file text after the commit.

Properties

ModifiedText

The file text after the commit.

public string? ModifiedText { get; init; }

Property Value

string

OriginalText

The file text before the commit.

public string? OriginalText { get; init; }

Property Value

string

Path

The repository-relative file path.

public string Path { get; init; }

Property Value

string

Status

The Git file status.

public string Status { get; init; }

Property Value

string