eden/fs/store/hg/HgBackingStore.cpp
/**
 * Create an HgBackingStore suitable for use in unit tests. It uses an inline
 * executor to process loaded objects rather than the thread pools used in
 * production Eden.
 */
Create an HgBackingStore suitable for use in unit tests. It uses an inline
executor to process loaded objects rather than the thread pools used in
production Eden.
Create an HgBackingStore suitable for use in unit tests . It uses an inline executor to process loaded objects rather than the thread pools used in production Eden .
HgBackingStore::HgBackingStore(
    Importer* importer,
    LocalStore* localStore,
    std::shared_ptr<EdenStats> stats)
    : localStore_{localStore},
      stats_{std::move(stats)},
      importThreadPool_{std::make_unique<HgImporterTestExecutor>(importer)},
      serverThreadPool_{importThreadPool_.get()} {}
HgBackingStore :: HgBackingStore ( Importer * importer , LocalStore * localStore , std :: shared_ptr < EdenStats > stats ) : localStore_ { localStore } , stats_ { std :: move ( stats ) } , importThreadPool_ { std :: make_unique < HgImporterTestExecutor > ( importer ) } , serverThreadPool_ { importThreadPool_ . get ( ) } { }
Create an HgBackingStore suitable for use in unit tests.
Create an HgBackingStore suitable for use in unit tests .