Methods
createFile
- createFile(relativePath: string, file: File): this
deleteFile
- deleteFile(relativePath: string): this
file
- file(relativePath: string): File
fileContents
- fileContents(relativePath: string): string
-
Parameters
Returns string
fileStats
- fileStats(relativePath: string): Stats
rename
- rename(fromPath: string, toPath: string): this
-
Parameters
-
fromPath: string
-
toPath: string
Returns this
transform
-
Parameters
Returns Promise<void>
writeContents
- writeContents(relativePath: string, contents: string): this
-
Parameters
-
relativePath: string
-
contents: string
Returns this
Get an array of sorted file paths