RefSpecDirection Class

Summary

Indicates the direction of a refspec mapping.
Assembly
GitVersion.Core.dll
Namespace
GitVersion.Git
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["RefSpecDirection"] class Type type-node

Syntax

public sealed class RefSpecDirection : Enum

Fields

Name Constant Value Summary
Fetch 0
The refspec is used when fetching from a remote.
static
Push 1
The refspec is used when pushing to a remote.
static
value__

Extension Methods

Name Value Summary
NotNull<RefSpecDirection>(string) T
Throws System.ArgumentNullException when value is null; otherwise returns the value.