mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
f99aee6cf6
Disable creation of `S3StorageClient` from `StorageClient::fromPathOrURL`.
17 lines
452 B
C++
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);
|
|
}
|