Skip to content

VcsInfo

Namespace: E2E.Reports

public sealed record VcsInfo : IEquatable<VcsInfo>

Where the code under test came from (upstream’s VcsInfo, internal/vcs.ts).

Inheritance: object

Implements: IEquatable<VcsInfo>

View source

public VcsInfo(string Commit, string? Branch = null, bool? Dirty = null)

Where the code under test came from (upstream’s VcsInfo, internal/vcs.ts).

Parameters

Name Type Description
Commit string The commit the working tree is checked out at.
Branch string The branch name; null on a detached HEAD or when only the commit is known.
Dirty bool? True when tracked files differ from the commit; null when git could not say.

View source

public string? Branch { get; init; }

The branch name; null on a detached HEAD or when only the commit is known.

Value: string

View source

public string Commit { get; init; }

The commit the working tree is checked out at.

Value: string

View source

public bool? Dirty { get; init; }

True when tracked files differ from the commit; null when git could not say.

Value: bool?

View source