(path: string, fileTree: FileTree)
| 53 | }; |
| 54 | |
| 55 | export const removeFile = (path: string, fileTree: FileTree) => { |
| 56 | const updatedFileTree = structuredClone(fileTree); |
| 57 | unset(updatedFileTree, path.split("/")); |
| 58 | return updatedFileTree; |
| 59 | }; |
| 60 | |
| 61 | export const moveFile = ( |
| 62 | currentPath: string, |
no outgoing calls
no test coverage detected