mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-28 16:46:16 +02:00
4687beecef
As discussed in the last Nix team meeting (2024-02-95), this method doesn't belong because `CanonPath` is a virtual/ideal absolute path format, not used in file systems beyond the native OS format for which a "current working directory" is defined. Progress towards #9205
21 lines
382 B
C++
21 lines
382 B
C++
#pragma once
|
|
|
|
#include "input-accessor.hh"
|
|
#include "source-path.hh"
|
|
|
|
namespace nix {
|
|
|
|
class StorePath;
|
|
class Store;
|
|
|
|
ref<InputAccessor> makeFSInputAccessor();
|
|
|
|
ref<InputAccessor> makeFSInputAccessor(std::filesystem::path root);
|
|
|
|
ref<InputAccessor> makeStorePathAccessor(
|
|
ref<Store> store,
|
|
const StorePath & storePath);
|
|
|
|
SourcePath getUnfilteredRootPath(CanonPath path);
|
|
|
|
}
|