MCPcopy Create free account
hub / github.com/catboost/catboost / Cat

Method Cat

util/system/fs.cpp:153–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void NFs::Cat(const TString& dstPath, const TString& srcPath) {
154 TUnbufferedFileInput src(srcPath);
155 TUnbufferedFileOutput dst(TFile(dstPath, ForAppend | WrOnly | Seq));
156
157 TransferData(&src, &dst);
158}
159
160void NFs::Copy(const TString& existingPath, const TString& newPath) {
161 TUnbufferedFileInput src(existingPath);

Callers

nothing calls this directly

Calls 2

TransferDataFunction · 0.85
TFileClass · 0.70

Tested by

no test coverage detected