StringPathExtensions.

IsInRepository(string, IRepositorySettings) Method

Summary

Checks if a file is part of the repository.
Assembly
Cake.Issues.dll
Namespace
Cake.Issues
Containing Type
StringPathExtensions

Syntax

public static bool IsInRepository(this string filePath, IRepositorySettings repositorySettings)

Parameters

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

Return Value

Type Description
bool True if file is in repository, false otherwise.
GitHub