| 1336 | } |
| 1337 | |
| 1338 | TFile TFile::Temporary(const TString& prefix) { |
| 1339 | // TODO - handle impossible case of name collision |
| 1340 | return TFile(prefix + ToString(MicroSeconds()) + "-" + ToString(RandomNumber<ui64>()), CreateNew | RdWr | Seq | Temp | Transient); |
| 1341 | } |
| 1342 | |
| 1343 | TFile TFile::ForAppend(const TString& path) { |
| 1344 | return TFile(path, OpenAlways | WrOnly | Seq | ::ForAppend); |
nothing calls this directly
no test coverage detected