StringPathExtensions.

IsValidRepositoryFilePath(string, IRepositorySettings) Method

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<bool, string> Tuple containing a value if validation was successful, and file path relative to RepositoryRoot.