| 125 | } |
| 126 | |
| 127 | bool NFs::SymLink(const TString& targetPath, const TString& linkPath) { |
| 128 | #if defined(_win_) |
| 129 | return NFsPrivate::WinSymLink(targetPath, linkPath); |
| 130 | #elif defined(_unix_) |
| 131 | return 0 == symlink(targetPath.data(), linkPath.data()); |
| 132 | #endif |
| 133 | } |
| 134 | |
| 135 | TString NFs::ReadLink(const TString& path) { |
| 136 | #if defined(_win_) |
nothing calls this directly
no test coverage detected