InitTemplateBase.copyFolder() method
Copies an entire folder from the templates folder to the destination.
Signature
copyFolder(input: {
sourceFolderRelativePath: string;
destinationFolderPath?: string;
}): Promise<void>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
{ sourceFolderRelativePath, destinationFolderPath, } |
(not declared) | |
|
input |
{ sourceFolderRelativePath: string; destinationFolderPath?: string; } |
Returns
Promise<void>
A promise that resolves when the folder has been copied.
Remarks
This method recursively copies the complete folder structure, including all files and subfolders, from the source to the destination. The entire folder tree is replicated, preserving the relative paths and structure. Files are copied without modifications; use InitTemplateBase.render() for individual files that require variable substitution.
Generated via tsdoc2docusaurus 1.3.2 by API Extractor/Documenter 7.57.2.