Files
revng-revng/lib/Storage/StorageClient.cpp
T
Giacomo Vercesi f99aee6cf6 StorageClient: disable S3StorageClient
Disable creation of `S3StorageClient` from
`StorageClient::fromPathOrURL`.
2025-03-26 16:36:20 +01:00

17 lines
452 B
C++

/// \file StorageClient.cpp
/// \brief Opaque interface to file-related operations
//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
#include "revng/Storage/StorageClient.h"
#include "LocalStorageClient.h"
llvm::Expected<std::unique_ptr<revng::StorageClient>>
revng::StorageClient::fromPathOrURL(llvm::StringRef URL) {
revng_assert(not URL.empty());
return std::make_unique<revng::LocalStorageClient>(URL);
}