validateRoot
validateRoot(
pathRaw,ceiling):string|null
Defined in: src/dirs.ts:119
Validate a candidate repo root, confined to ceiling. Returns the resolved
absolute path only when it is the ceiling or inside it (realpath containment);
otherwise null.
Parameters
Section titled “Parameters”pathRaw
Section titled “pathRaw”unknown
ceiling
Section titled “ceiling”string
Returns
Section titled “Returns”string | null