| 117 | } |
| 118 | |
| 119 | bool NFs::HardLink(const TString& existingPath, const TString& newPath) { |
| 120 | #if defined(_win_) |
| 121 | return NFsPrivate::WinHardLink(existingPath, newPath); |
| 122 | #elif defined(_unix_) |
| 123 | return (0 == link(existingPath.data(), newPath.data())); |
| 124 | #endif |
| 125 | } |
| 126 | |
| 127 | bool NFs::SymLink(const TString& targetPath, const TString& linkPath) { |
| 128 | #if defined(_win_) |
nothing calls this directly
no test coverage detected