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. |