mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
Rename makeFSSourceAccessor -> getFSSourceAccessor()
This makes it clearer that it returns a shared accessor object.
This commit is contained in:
parent
eab2919119
commit
ef28c7329c
7 changed files with 17 additions and 14 deletions
|
@ -197,10 +197,13 @@ MakeError(RestrictedPathError, Error);
|
|||
/**
|
||||
* Return an accessor for the root filesystem.
|
||||
*/
|
||||
ref<SourceAccessor> makeFSSourceAccessor();
|
||||
ref<SourceAccessor> getFSSourceAccessor();
|
||||
|
||||
/**
|
||||
* Return an accessor for the filesystem rooted at `root`.
|
||||
* Construct an accessor for the filesystem rooted at `root`. Note
|
||||
* that it is not possible to escape `root` by appending `..` path
|
||||
* elements, and that absolute symlinks are resolved relative to
|
||||
* `root`.
|
||||
*/
|
||||
ref<SourceAccessor> makeFSSourceAccessor(std::filesystem::path root);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue