GitFetchSettings Class

Summary

Settings for the fetch operation.
Assembly
Cake.Git.dll
Namespace
Cake.Git
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["GitFetchSettings"] class Type type-node

Syntax

public class GitFetchSettings

Constructors

Name Summary
GitFetchSettings()

Properties

Name Value Summary
Prune Nullable<bool>
Gets or sets whether to prune during fetch. Default is null
RefSpecFilter Func<RefSpec, bool>
Gets or sets a filter which RefSpecs to fetch. Default is all.
Remote string
Gets or sets the name of the remote to fetch from. Default is "origin".
TagFetchMode Nullable<TagFetchMode>
Gets or sets how tags are being fetched.

Extension Methods

Name Value Summary
Dump<GitFetchSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GitFetchSettings>(GitFetchSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GitFetchSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<GitFetchSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<GitFetchSettings>(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<GitFetchSettings>(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