(folderPath: string, removeBasePath: boolean)
| 244 | } |
| 245 | |
| 246 | readFolderIncludingEmpty(folderPath: string, removeBasePath: boolean): Array<string> { |
| 247 | const removeFromPathString = removeBasePath ? folderPath : '' |
| 248 | |
| 249 | return this.walkSyncIncludingEmptyFolders(folderPath, [], removeFromPathString) |
| 250 | } |
| 251 | |
| 252 | clearFolder(folderPath: string, removeOwnFolder: boolean = false): FileSystem { |
| 253 | if(this.folderDoesNotExist(folderPath)) return this |
no test coverage detected