MCPcopy Create free account
hub / github.com/Huntereb/Awoo-Installer / copyFile

Function copyFile

source/util/util.cpp:111–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111 bool copyFile(std::string inFile, std::string outFile) {
112 char ch;
113 std::ifstream f1(inFile);
114 std::ofstream f2(outFile);
115
116 if(!f1 || !f2) return false;
117
118 while(f1 && f1.get(ch)) f2.put(ch);
119 return true;
120 }
121
122 std::string formatUrlString(std::string ourString) {
123 std::stringstream ourStream(ourString);

Callers 1

installSigPatchesFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected