debugDumpDirName
debugDumpDirName(
date?):string
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/utils/debugDump.ts:148
The filesystem-safe directory-name segment for one dump: the ISO timestamp with : and .
(illegal on Windows, noisy everywhere) replaced by -. This is the ONLY path component
debugDump generates — and the only one it is responsible for sanitizing. The parent it is joined
under (the global ~/.gsloth dir) is supplied by the environment and may legitimately carry a
drive-letter colon on Windows (C:\…), which is not ours to strip. Exported so the invariant
“the generated segment is colon-free” is testable on any platform without asserting anything
about the (platform-dependent) parent path (GS2-50).
Parameters
Section titled “Parameters”Date = ...
Returns
Section titled “Returns”string