Class ProjectLocator
- Namespace
- Cress.ProjectSystem
- Assembly
- Cress.ProjectSystem.dll
public sealed class ProjectLocator
- Inheritance
-
ProjectLocator
- Inherited Members
-
Fields
ConfigRelativePath
public const string ConfigRelativePath = ".cress\\config.yaml"
Field Value
- string
Methods
FindProjectRoot(string)
public string? FindProjectRoot(string startDirectory)
Parameters
startDirectory string
Returns
- string
GetConfigPath(string)
public string GetConfigPath(string projectRoot)
Parameters
projectRoot string
Returns
- string
TryFindProjectRoot(string, out string)
public bool TryFindProjectRoot(string startDirectory, out string projectRoot)
Parameters
startDirectory string
projectRoot string
Returns
- bool