(path)
| 112 | } |
| 113 | |
| 114 | function normalizeFolderToastKey(path) { |
| 115 | const raw = String(path || '').trim(); |
| 116 | if (!raw || raw.toLowerCase() === 'root') return 'root'; |
| 117 | return raw; |
| 118 | } |
| 119 | |
| 120 | function formatFolderPathForToast(path) { |
| 121 | const key = normalizeFolderToastKey(path); |
no outgoing calls
no test coverage detected