(path: string, fileTree: FileTree)
| 49 | }; |
| 50 | |
| 51 | export const existsFile = (path: string, fileTree: FileTree) => { |
| 52 | return has(fileTree, path.split("/")); |
| 53 | }; |
| 54 | |
| 55 | export const removeFile = (path: string, fileTree: FileTree) => { |
| 56 | const updatedFileTree = structuredClone(fileTree); |
no outgoing calls
no test coverage detected