MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / existsFileOrDirectory

Method existsFileOrDirectory

src/Disks/DiskLocal.cpp:306–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306bool DiskLocal::existsFileOrDirectory(const String & path) const
307{
308 return fs::exists(fs::path(disk_path) / path);
309}
310
311bool DiskLocal::existsFile(const String & path) const
312{

Callers 9

nextFileMethod · 0.45
BackupFunction · 0.45
~TemporaryFileOnDiskMethod · 0.45
createTableMethod · 0.45
iterateMetadataFilesMethod · 0.45
beforeLoadingMetadataMethod · 0.45
tryCreateSymlinkMethod · 0.45

Calls 1

existsFunction · 0.50

Tested by

no test coverage detected