2023-10-18 16:32:31 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "input-accessor.hh"
|
2023-12-18 23:14:42 +02:00
|
|
|
#include "source-path.hh"
|
2023-10-18 16:32:31 +03:00
|
|
|
|
|
|
|
namespace nix {
|
|
|
|
|
|
|
|
class StorePath;
|
|
|
|
class Store;
|
|
|
|
|
2024-02-06 23:23:58 +02:00
|
|
|
ref<InputAccessor> makeFSInputAccessor();
|
|
|
|
|
|
|
|
ref<InputAccessor> makeFSInputAccessor(std::filesystem::path root);
|
2023-10-18 16:32:31 +03:00
|
|
|
|
2023-11-30 22:54:53 +02:00
|
|
|
ref<InputAccessor> makeStorePathAccessor(
|
2023-10-18 16:32:31 +03:00
|
|
|
ref<Store> store,
|
2023-11-30 22:54:53 +02:00
|
|
|
const StorePath & storePath);
|
2023-10-18 16:32:31 +03:00
|
|
|
|
|
|
|
SourcePath getUnfilteredRootPath(CanonPath path);
|
|
|
|
|
|
|
|
}
|