MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getTerminalRecoveryInfo

Function getTerminalRecoveryInfo

src/utils/appleTerminalBackup.ts:22–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20}
21
22function getTerminalRecoveryInfo(): {
23 inProgress: boolean
24 backupPath: string | null
25} {
26 const config = getGlobalConfig()
27 return {
28 inProgress: config.appleTerminalSetupInProgress ?? false,
29 backupPath: config.appleTerminalBackupPath || null,
30 }
31}
32
33export function getTerminalPlistPath(): string {
34 return join(homedir(), 'Library', 'Preferences', 'com.apple.Terminal.plist')

Callers 1

Calls 1

getGlobalConfigFunction · 0.85

Tested by

no test coverage detected