(files, path)
| 1 | import files from "embedded:storage/files" |
| 2 | |
| 3 | function scan(files, path) { |
| 4 | const result = []; |
| 5 | for (const item of files.scan(path)) |
| 6 | result.push(item); |
| 7 | return result.sort(); |
| 8 | } |
| 9 | |
| 10 | function deleteTree(files, path) { |
| 11 | try { |
no test coverage detected