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