(folder, sourceId = '')
| 929 | setTimeout(() => { try { fn(); } catch (e) {} }, 120); |
| 930 | } |
| 931 | function folderStatsCacheKey(folder, sourceId = '') { |
| 932 | const sid = sourceId ? String(sourceId) : ''; |
| 933 | return sid ? `${sid}::${folder}` : folder; |
| 934 | } |
| 935 | async function fetchFolderCounts(folder) { |
| 936 | const sourceId = getActiveSourceId(); |
| 937 | const key = folderStatsCacheKey(folder, sourceId); |
no outgoing calls
no test coverage detected