This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Incubator.
Summary
Contains extension methods for working with
FilePath's
- Assembly
- Cake
.Incubator .dll - Namespace
- Cake
.Incubator .FilePathExtensions - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["FilePathExtensions"]
class Type type-node
Syntax
public static class FilePathExtensions
Attributes
| Type | Description |
|---|---|
| Cake |
Methods
| Name | Value | Summary |
|---|---|---|
| HasFileExtension |
bool |
Checks if the path has a specific file extension (case-insensitive)
static
|
| HasFileName |
bool |
Checks if the path has a specific filename and extension
static
|
| IsProject |
bool |
Checks if the FilePath is a vbproj/csproj/fsproj file
static
|
| IsSolution |
bool |
Checks if the FilePath is a solution file
static
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
