sapling/eden/fs/store/recas/ReCasBackingStore.cpp
Chad Austin d45b2711a2 remove the dead getTreeForManifest
Summary: getTreeForManifest is no longer called, so remove it.

Reviewed By: genevievehelsel

Differential Revision: D28306796

fbshipit-source-id: e51a32fa7d75c54b2e3525e88c162247b4496560
2021-05-10 11:53:30 -07:00

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