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