MCPcopy Create free account
hub / github.com/catboost/catboost / SymLink

Method SymLink

util/system/fs.cpp:127–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127bool 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
135TString NFs::ReadLink(const TString& path) {
136#if defined(_win_)

Callers

nothing calls this directly

Calls 3

WinSymLinkFunction · 0.85
symlinkFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected