| 569 | } |
| 570 | |
| 571 | bool SafeResolveDir(const char* path, TString& result) { |
| 572 | try { |
| 573 | result = ResolvePath(path, true); |
| 574 | return true; |
| 575 | } catch (...) { |
| 576 | return false; |
| 577 | } |
| 578 | } |
| 579 | |
| 580 | TString GetDirName(const TString& path) { |
| 581 | return TFsPath(path).Dirname(); |
nothing calls this directly
no test coverage detected