MCPcopy Create free account
hub / github.com/MJx0/KittyMemoryEx / copy

Method copy

KittyMemoryEx/KittyIOFile.hpp:355–359  ·  view source on GitHub ↗

* @brief Copies the contents of a file to another file. * * @param srcFilePath The source file path. * @param dstFilePath The destination file path. * @return true if the file was copied successfully, false otherwise. */

Source from the content-addressed store, hash-verified

353 * similar to the behavior of `mkdir -p` on POSIX systems.
354 *
355 * @param path The full directory path to create (absolute or relative).
356 * @param mode The permissions to use when creating directories (default: 0755).
357 *
358 * @return true if the directory exists or was successfully created,
359 * false if an error occurred.
360 *
361 * @note If a directory already exists, it is not treated as an error.
362 *

Callers

nothing calls this directly

Calls 2

openMethod · 0.80
writeToFileMethod · 0.80

Tested by

no test coverage detected