safeRepoDir
safeRepoDir(
repoPathRaw,repoRoot):string|null
Defined in: src/validate.ts:647
Resolve a repo path, confined to repoRoot and required to be an existing directory. null if invalid.
Parameters
Section titled “Parameters”repoPathRaw
Section titled “repoPathRaw”string
repoRoot
Section titled “repoRoot”string
Returns
Section titled “Returns”string | null