Skip to main content

InitTemplateBase._copyFolderRecursively() method

Recursively copies all contents of a source folder to a destination folder.

Signature​

protected _copyFolderRecursively(input: {
sourceFolderPath: string;
destinationFolderPath: string;
}): Promise<void>;

Parameters​

Parameter

Type

Description

{ sourceFolderPath, destinationFolderPath, }

(not declared)

input

{ sourceFolderPath: string; destinationFolderPath: string; }

Returns​

Promise<void>

A promise that resolves when all contents have been copied.

Remarks​

This internal method traverses the source folder structure and replicates it at the destination, copying all files and recursively processing subfolders.


Generated via tsdoc2docusaurus 1.3.2 by API Extractor/Documenter 7.57.2.