Fix style check

This commit is contained in:
kssenii 2024-02-27 23:00:27 +08:00
parent 33788250b1
commit 98b27fd45f
2 changed files with 2 additions and 1 deletions

View File

@ -189,7 +189,7 @@ void LocalObjectStorage::listObjects(const std::string & path, RelativePathsWith
bool LocalObjectStorage::existsOrHasAnyChild(const std::string & path) const
{
/// Unlike real object storage, existance of a prefix path can be checked by
/// Unlike real object storage, existence of a prefix path can be checked by
/// just checking existence of this prefix directly, so simple exists is enough here.
return exists(StoredObject(path));
}

View File

@ -48,6 +48,7 @@ namespace ErrorCodes
{
extern const int S3_ERROR;
extern const int BAD_ARGUMENTS;
extern const int LOGICAL_ERROR;
}
namespace