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

Method isDirectory

valdi_core/src/valdi_core/cpp/Utils/DiskUtils.cpp:117–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117bool DiskUtils::isDirectory(const Path& path) {
118 return stat(path).isDir();
119}
120
121Result<BytesView> DiskUtils::load(const Path& path) {
122 return load(path, 0, std::nullopt);

Callers 12

resolveCodeLaunchArgsFunction · 0.45
resolveCodeLaunchArgsFunction · 0.45
loadLibsFromLocalPathMethod · 0.45
traverseDirectoriesFunction · 0.45
isDirectoryFunction · 0.45
removeFileOrDirAtPathFunction · 0.45
copyDirSyncFunction · 0.45
installFunction · 0.45
listInstalledFunction · 0.45
discoverSharedLibPathFunction · 0.45
walkDirFunction · 0.45

Calls 2

isDirMethod · 0.80
statClass · 0.70

Tested by

no test coverage detected