mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
d45b2711a2
Summary: getTreeForManifest is no longer called, so remove it. Reviewed By: genevievehelsel Differential Revision: D28306796 fbshipit-source-id: e51a32fa7d75c54b2e3525e88c162247b4496560
46 lines
1.2 KiB
C++
46 lines
1.2 KiB
C++
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This software may be used and distributed according to the terms of the
|
|
* GNU General Public License version 2.
|
|
*/
|
|
|
|
#include "eden/fs/store/recas/ReCasBackingStore.h"
|
|
|
|
#include <folly/futures/Future.h>
|
|
#include "eden/fs/model/Blob.h"
|
|
#include "eden/fs/model/Hash.h"
|
|
#include "eden/fs/model/Tree.h"
|
|
#include "eden/fs/store/LocalStore.h"
|
|
|
|
namespace facebook {
|
|
namespace eden {
|
|
|
|
ReCasBackingStore::ReCasBackingStore(
|
|
std::shared_ptr<LocalStore> /** localStore **/) {
|
|
return;
|
|
};
|
|
ReCasBackingStore::~ReCasBackingStore() {
|
|
return;
|
|
};
|
|
|
|
folly::SemiFuture<std::unique_ptr<Tree>> ReCasBackingStore::getTree(
|
|
const Hash& /** id **/,
|
|
ObjectFetchContext& /** context **/) {
|
|
throw std::domain_error("unimplemented:");
|
|
};
|
|
folly::SemiFuture<std::unique_ptr<Blob>> ReCasBackingStore::getBlob(
|
|
const Hash& /** id **/,
|
|
ObjectFetchContext& /** context **/) {
|
|
throw std::domain_error("unimplemented");
|
|
};
|
|
|
|
folly::SemiFuture<std::unique_ptr<Tree>> ReCasBackingStore::getTreeForCommit(
|
|
const Hash& /** id **/,
|
|
ObjectFetchContext& /** context **/) {
|
|
throw std::domain_error("unimplemented");
|
|
};
|
|
|
|
} // namespace eden
|
|
} // namespace facebook
|