MCPcopy Create free account
hub / github.com/IgorWarzocha/howcode / getTranscriptDirectory

Function getTranscriptDirectory

desktop/terminal/session-history.ts:10–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8import type { TerminalSessionRecord } from './session-record.ts'
9
10function getTranscriptDirectory() {
11 const transcriptDirectory = path.join(getDesktopUserDataPath(), 'state', 'terminals')
12 mkdirSync(transcriptDirectory, { recursive: true })
13 return transcriptDirectory
14}
15
16export function nowIso() {
17 return new Date().toISOString()

Callers 1

getTranscriptPathFunction · 0.85

Calls 1

getDesktopUserDataPathFunction · 0.90

Tested by

no test coverage detected