MCPcopy Create free account
hub / github.com/Snapchat/Valdi / isFile

Method isFile

valdi_core/src/valdi_core/cpp/Utils/DiskUtils.cpp:113–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113bool DiskUtils::isFile(const Path& path) {
114 return stat(path).isFile();
115}
116
117bool DiskUtils::isDirectory(const Path& path) {
118 return stat(path).isDir();

Callers 6

openMethod · 0.45
resolveCodeLaunchArgsFunction · 0.45
resolveCodeLaunchArgsFunction · 0.45
loadLibsFromLocalPathMethod · 0.45
removeFileOrDirAtPathFunction · 0.45

Calls 1

statClass · 0.70

Tested by

no test coverage detected