Function: resolveInRoot()
resolveInRoot(
inputPath,workingDir):Promise<BoundaryResult<{canonical:string;exists:boolean;lexical:string;root:string; }>>
Defined in: filesystem-boundary.ts:99
Resolve a user path against the working directory with canonical
containment. When the path exists, canonical is realpath of the target
and must stay inside the root. Symlinks are allowed only when that
canonical target remains in-root.
Parameters
inputPath
string
workingDir
string
Returns
Promise<BoundaryResult<{ canonical: string; exists: boolean; lexical: string; root: string; }>>