(backupFileName: string, sessionId?: string)
| 733 | } |
| 734 | |
| 735 | function resolveBackupPath(backupFileName: string, sessionId?: string): string { |
| 736 | const configDir = getClaudeConfigHomeDir() |
| 737 | return join( |
| 738 | configDir, |
| 739 | 'file-history', |
| 740 | sessionId || getSessionId(), |
| 741 | backupFileName, |
| 742 | ) |
| 743 | } |
| 744 | |
| 745 | /** |
| 746 | * Creates a backup of the file at filePath. If the file does not exist |
no test coverage detected