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

Method Remove

util/system/fs.cpp:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17#include <util/system/sysstat.h>
18
19bool NFs::Remove(const TString& path) {
20#if defined(_win_)
21 return NFsPrivate::WinRemove(path);
22#else
23 return ::remove(path.data()) == 0;
24#endif
25}
26
27bool NFs::SetExecutable(const TString& path, bool exec) {
28#ifdef _unix_

Callers

nothing calls this directly

Calls 3

WinRemoveFunction · 0.85
removeFunction · 0.50
dataMethod · 0.45

Tested by

no test coverage detected