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

Method removeFileIfExists

src/IO/PackedFilesWriter.cpp:66–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void PackedFilesWriter::removeFileIfExists(const String & name)
67{
68 metadata_changes.emplace_back(MetadataChange::REMOVE_IF_EXISTS, name, "");
69 applyRemoveFile(metadata_changes.back(), written_files);
70}
71
72/// Returns the size of string written by @writeStringBinary call.
73static UInt64 getLengthOfSerializedString(const String & str)

Callers 8

createDatabaseMethod · 0.45
deleteModuleIfExistsMethod · 0.45
loadMetadataFunction · 0.45
loadSystemDatabaseImplFunction · 0.45
detachDatabaseMethod · 0.45
updateMetadataFileMethod · 0.45
dropTableFinallyMethod · 0.45

Calls 2

emplace_backMethod · 0.45
backMethod · 0.45

Tested by

no test coverage detected