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

Method IsDirectory

util/folder/path.cpp:392–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390}
391
392bool TFsPath::IsDirectory() const {
393 return IsDefined() && TFileStat(GetPath().data()).IsDir();
394}
395
396bool TFsPath::IsFile() const {
397 return IsDefined() && TFileStat(GetPath().data()).IsFile();

Callers 2

CopyToMethod · 0.45
Y_UNIT_TESTFunction · 0.45

Calls 3

TFileStatClass · 0.85
IsDirMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected