File Utils#

bool trt_edgellm::file_io::copyFile(
std::string const &srcPath,
std::string const &dstPath
) noexcept#

Copy a file from source to destination.

Note

This function catches std::filesystem::filesystem_error internally and returns false

Parameters:
  • srcPath – Source file path

  • dstPath – Destination file path

Returns:

True on success, false on failure