StringPathExtensions.

MakeFilePathRelativeToRepositoryRoot(string, IRepositorySettings) Method

Summary

Make path relative to repository root.
Assembly
Cake.Issues.dll
Namespace
Cake.Issues
Containing Type
StringPathExtensions

Syntax

public static string MakeFilePathRelativeToRepositoryRoot(this string filePath, IRepositorySettings repositorySettings)

Parameters

Name Type Description
filePath string Full file path.
repositorySettings IRepositorySettings Repository settings.

Return Value

Type Description
string File path relative to the repository root.