aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/canon-path.cc
AgeCommit message (Collapse)Author
2023-04-06Backport SourcePath from the lazy-trees branchEelco Dolstra
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-03-31Add CanonPath::makeRelative()Eelco Dolstra
2022-12-12Add CanonPath wrapper to represent canonicalized pathsEelco Dolstra