GitChangeKind Class

Summary

The kind of changes that a Diff can report.
Assembly
Cake.Git.dll
Namespace
Cake.Git
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["GitChangeKind"] class Type type-node

Syntax

public sealed class GitChangeKind : Enum

Fields

Name Constant Value Summary
Added 1
File is added.
static
Conflicted 10
File is conflicting.
static
Copied 5
File is copied.
static
Deleted 2
File is deleted.
static
Ignored 6
File is ignored.
static
Modified 3
File is modified.
static
Renamed 4
File is renamed.
static
TypeChanged 8
File type changed.
static
Unmodified 0
File is not modified.
static
Unreadable 9
File is unreadable.
static
Untracked 7
File is untracked.
static
value__

Extension Methods

Name Value Summary
Dump<GitChangeKind>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GitChangeKind>(GitChangeKind[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GitChangeKind>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<GitChangeKind>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<GitChangeKind>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<GitChangeKind>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin