Remove redundant code

This commit is contained in:
kssenii 2022-07-12 18:28:20 +02:00
parent 4d48d6e713
commit c38f726537

View File

@ -49,13 +49,6 @@ StoredObject StoredObject::create(
}
};
/// if (metadata_storage->exists(object_path))
/// {
/// object_size = metadata_storage->getFileSize(object_path);
/// path_key_for_cache_creator =
/// [path_key = path_key_for_cache_creator(object_path)](const String &) { return path_key; };
/// }
return StoredObject(object_path, object_size, std::move(path_key_for_cache_creator));
}