Nucleus handler tools › Docs › Context › CopyFolder

Context.CopyFolder

Open in the workbench (search, and try it in a handler)

Context.CopyFolder(
  source: string | number | boolean,
  destination: string | number | boolean
): boolean

Copies the folder source with all its files and subfolders into destination (both full paths), creating the destination folders. Files that already exist at the destination are not overwritten, and files that fail to copy are skipped silently. Throws if source doesn't exist; returns true.

✎ AI-written, based on Nucleus GenericContext.cs (CopyFolder), FileUtil.cs (CopyDirectory, CopyDirectoryFiles). Not from the official docs. Is it wrong? Tell us

✎ Parameters: AI-written from the Nucleus source.

Handler API docs

Is this right? Tell us what's wrong
Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop