(fs: TextEditorFsCallbacks | undefined)
| 799 | } |
| 800 | |
| 801 | function workspaceFiles(fs: TextEditorFsCallbacks | undefined): string[] { |
| 802 | if (!fs) return []; |
| 803 | return fs |
| 804 | .listDir('.') |
| 805 | .filter((file) => file.trim().length > 0) |
| 806 | .sort((a, b) => a.localeCompare(b)); |
| 807 | } |
| 808 | |
| 809 | function isVirtualTemplatePath(file: string): boolean { |
| 810 | const normalized = file.replace(/\\/g, '/').toLowerCase(); |
no test coverage detected