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.Issues.
Summary
Remove the leading directory separator from a file path.
- Assembly
- Cake
.Issues .dll - Namespace
- Cake
.Issues - Containing Type
- StringPathExtensions
Syntax
public static string RemoveLeadingDirectorySeparator(this string filePath)
Parameters
Name | Type | Description |
---|---|---|
filePath | string | Full file path. |
Return Value
Type | Description |
---|---|
string | File path without leading directory separator. |