PathTildeHelper Class

Summary

Path tilde (~) helpers. An alias for Cake Build to help translate leading tilde (~) characters into paths with the current user.
Assembly
Cake.PathTildeHelper.dll
Namespace
Cake.PathTildeHelper
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["PathTildeHelper"] class Type type-node

Syntax

public static class PathTildeHelper

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
PathReplaceTilde(ICakeContext, DirectoryPath) DirectoryPath
Creates a path string with any leading tilde (~) character, used to denote the current user path, replaced with the absolute path to the current user's directory.
static
PathReplaceTilde(ICakeContext, FilePath) FilePath
Creates a path string with any leading tilde (~) character, used to denote the current user path, replaced with the absolute path to the current user's directory.
static

Extension Methods

Name Value Summary
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