| 158 | } |
| 159 | |
| 160 | void NFs::Copy(const TString& existingPath, const TString& newPath) { |
| 161 | TUnbufferedFileInput src(existingPath); |
| 162 | TUnbufferedFileOutput dst(TFile(newPath, CreateAlways | WrOnly | Seq)); |
| 163 | |
| 164 | TransferData(&src, &dst); |
| 165 | } |
| 166 | |
| 167 | bool NFs::Exists(const TString& path) { |
| 168 | #if defined(_win_) |
nothing calls this directly
no test coverage detected