(path: string, fileTree: FileTree)
| 73 | }; |
| 74 | |
| 75 | export const getFileContent = (path: string, fileTree: FileTree) => { |
| 76 | return get(fileTree, path.split("/")) as string | FileTree; |
| 77 | }; |
| 78 | |
| 79 | export const getFileText = (path: string, fileTree: FileTree) => { |
| 80 | const content = getFileContent(path, fileTree); |
no test coverage detected