(
view: SheetViewMode,
worksheet: { folders: string[] }
)
| 531 | }; |
| 532 | |
| 533 | const getPathesForWorksheet = ( |
| 534 | view: SheetViewMode, |
| 535 | worksheet: { folders: string[] } |
| 536 | ): string[] => { |
| 537 | const folderContext = getFolderContext(view); |
| 538 | const pathes = [folderContext.rootPath]; |
| 539 | let currentPath = folderContext.rootPath; |
| 540 | for (const folder of worksheet.folders) { |
| 541 | currentPath = folderContext.ensureFolderPath(`${currentPath}/${folder}`); |
| 542 | pathes.push(currentPath); |
| 543 | } |
| 544 | return pathes; |
| 545 | }; |
| 546 | |
| 547 | const getPwdForWorksheet = ( |
| 548 | view: SheetViewMode, |
no test coverage detected