resolveOutputPath
resolveOutputPath(
writeOutputToFile):string
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/utils/fileUtils.ts:104
Resolve an explicit output path string to an absolute file path. Concerned only with string values:
- If the string includes a path separator, resolve relative to project root and ensure parent directories exist.
- If it’s a bare filename, place it under .gsloth/ when present, otherwise project root.
Parameters
Section titled “Parameters”writeOutputToFile
Section titled “writeOutputToFile”string
Returns
Section titled “Returns”string