MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / exec

Method exec

source/src/scriptinterpreter.cpp:1318–1321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1316struct QiFunc_dir_copy : public QiFunc
1317{
1318 QiFunc_dir_copy() : QiFunc(2) {}
1319 QiVar exec(const std::vector<QiVar>& args, QiScriptInterpreter*) const override
1320 {
1321 try
1322 {
1323 std::filesystem::copy(String::toWString(args[0].toString()).c_str(), String::toWString(args[1].toString()).c_str());
1324 return true;

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected