(path)
| 21 | } |
| 22 | |
| 23 | function normalizeFolderToastKey(path) { |
| 24 | const raw = String(path || '').trim(); |
| 25 | if (!raw || raw.toLowerCase() === 'root') return 'root'; |
| 26 | return raw; |
| 27 | } |
| 28 | |
| 29 | function formatFolderPathForToast(path) { |
| 30 | const key = normalizeFolderToastKey(path); |
no outgoing calls
no test coverage detected