FsCopyTask

OpalTask that copies a file from source to destination.

Inherits OpalTask
Group libopal

Declared in src/libs/libopal/opal/filesystem/FsCopyTask.hpp.

Detailed description

Migrated from CopyFileAction in libtrigger. Validates that the source file exists and copies it to the destination path using QFile::copy(). It makes the destination's folder, and it replaces an existing destination only with overwrite (opal-file-tasks §OFT-2: a copy into a new subfolder failed on 2026-10-14).

See also FsChmodTask.

In this section