eslint-plugin-copilot Documentation / _internal/copilot-file-kind / findRepositoryRoot
Function: findRepositoryRoot()
function findRepositoryRoot(filePath: string): string;
Defined in: _internal/copilot-file-kind.ts:148
Discover the repository root for the current file path.
Parametersâ
| Parameter | Type |
|---|---|
filePath | string |
Returnsâ
string