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
Validates if a file path is a valid path below
RepositoryRoot.
- Assembly
- Cake
.Issues .dll - Namespace
- Cake
.Issues - Containing Type
- StringPathExtensions
Syntax
public static ValueTuple<bool, string> IsValidRepositoryFilePath(this string filePath, IRepositorySettings repositorySettings)
Parameters
| Name | Type | Description |
|---|---|---|
| filePath | string | Full file path. |
| repositorySettings | IRepositorySettings | Repository settings. |
Return Value
| Type | Description |
|---|---|
| ValueTuple |
Tuple containing a value if validation was successful,
and file path relative to RepositoryRoot. |
