Methods
createDirectory
- createDirectory(filePath: string): Promise<boolean>
-
Parameters
Returns Promise<boolean>
directory created
isDirectory
- isDirectory(filePath: string): boolean
-
Parameters
Returns boolean
check if path is dir
joinPaths
- joinPaths(...paths: string[]): string
-
Parameters
Returns string
merged path
normalizePath
- normalizePath(filePath: string): string
-
Parameters
Returns string
normalized path
writeFile
- writeFile(filePath: string, content: string): Promise<boolean>
-
Parameters
-
filePath: string
-
content: string
Returns Promise<boolean>
file written
Class which holds helper tools when working with files.
FileUtil