copyToTemp

open fun copyToTemp(sourceDirPath: String)

Copies the specified directory to a temporary directory, excluding files and folders based on the exclusion patterns.

Parameters

sourceDirPath

The path of the directory to be copied.

Throws

If there is an issue copying the directory.