This website requires JavaScript.
Explore
Help
Sign In
nrabulinski
/
lix
Watch
0
Star
0
Fork
You've already forked lix
0
forked from
lix-project/lix
Code
Pull requests
Activity
23c92f0815
lix
/
src
/
libexpr
/
paths.cc
11 lines
108 B
C++
Raw
Normal View
History
Unescape
Escape
Backport SourcePath from the lazy-trees branch This introduces the SourcePath type from lazy-trees as an abstraction for accessing files from inputs that may not be materialized in the real filesystem (e.g. Git repositories). Currently, however, it's just a wrapper around CanonPath, so it shouldn't change any behaviour. (On lazy-trees, SourcePath is a <InputAccessor, CanonPath> tuple.)
2023-04-06 11:15:50 +00:00
#
include
"eval.hh"
namespace
nix
{
SourcePath
EvalState
:
:
rootPath
(
CanonPath
path
)
{
Merge pull request #9172 from tfc/bad-moves Fix/remove some bad std::moves (cherry picked from commit 8c049a9f044569ebda70231709f6f15d3073894a) Change-Id: I720273378d2506a13883acee28abd096d099b0d4
2024-03-04 03:41:52 +00:00
return
path
;
Backport SourcePath from the lazy-trees branch This introduces the SourcePath type from lazy-trees as an abstraction for accessing files from inputs that may not be materialized in the real filesystem (e.g. Git repositories). Currently, however, it's just a wrapper around CanonPath, so it shouldn't change any behaviour. (On lazy-trees, SourcePath is a <InputAccessor, CanonPath> tuple.)
2023-04-06 11:15:50 +00:00
}
}
Copy permalink