MCPcopy Create free account
hub / github.com/chipsalliance/Surelog / exists

Method exists

src/Common/PlatformFileSystem.cpp:850–857  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

848}
849
850bool PlatformFileSystem::exists(PathId id) {
851 if (!id) return false;
852
853 const std::filesystem::path filepath = toPath(id);
854
855 std::error_code ec;
856 return !filepath.empty() && std::filesystem::exists(filepath, ec) && !ec;
857}
858
859bool PlatformFileSystem::exists(PathId dirId, std::string_view descendant) {
860 if (!dirId || descendant.empty()) return false;

Callers 14

.ycm_extra_conf.pyFile · 0.45
postPreprocess_Method · 0.45
_write_outputFunction · 0.45
_write_outputFunction · 0.45
_mkdirFunction · 0.45
_rmdirFunction · 0.45
_mainFunction · 0.45
_write_outputFunction · 0.45
_mkdirFunction · 0.45
_rmdirFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected