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

Method removeSharedFile

src/Disks/DiskObjectStorage/DiskObjectStorage.cpp:356–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356void DiskObjectStorage::removeSharedFile(const String & path, bool delete_metadata_only)
357{
358 auto transaction = createObjectStorageTransaction();
359 transaction->removeSharedFile(path, delete_metadata_only);
360 transaction->commit();
361}
362
363void DiskObjectStorage::removeSharedFiles(const RemoveBatchRequest & files, bool keep_all_batch_data, const NameSet & file_names_remove_metadata_only)
364{

Callers

nothing calls this directly

Calls 1

commitMethod · 0.45

Tested by

no test coverage detected