- Preparing search index...
- The search index is not available
docs.hg.fi
Methods
Static
copyTextFileWithReplacements
- copyTextFileWithReplacements(sourceFile: string, toFile: string, replacements: {
[name: string]: string;
}): void
-
Parameters
-
sourceFile: string
-
toFile: string
-
replacements: {
[name: string]: string;
}
Returns void
Static
copyTextFileWithReplacementsIfMissing
- copyTextFileWithReplacementsIfMissing(sourceFile: string, toFile: string, replacements: {
[name: string]: string;
}): void
-
Parameters
-
sourceFile: string
-
toFile: string
-
replacements: {
[name: string]: string;
}
Returns void
Static
directoryExits
- directoryExits(dirPath: string): boolean
-
Returns boolean
Static
fileExists
- fileExists(targetPath: string): boolean
-
Returns boolean
Static
isDirectory
- isDirectory(dirPath: string): boolean
-
Returns boolean
Static
mkdirp
- mkdirp(dirPath: string): void
-
Returns void
Static
readTextFile
- readTextFile(sourceFile: string): string
-
Returns string
Static
writeJsonFile
- writeJsonFile(targetPath: string, targetData: ReadonlyJsonAny): void
-
Returns void
Static
writeTextFile
- writeTextFile(targetPath: string, targetDataString: string): void
-
Parameters
-
targetPath: string
-
targetDataString: string
Returns void