Skip to main content

XpmInitTemplateBase._copyFolderRecursively() method

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

Signature

protected _copyFolderRecursively(sourceFolderPath: string, destinationFolderPath: string): Promise<void>;

Parameters

Parameter

Type

Description

sourceFolderPath

string

The absolute path to the source folder.

destinationFolderPath

string

The absolute path to the destination folder.

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.0-pre by API Extractor/Documenter 7.55.2.