mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Clarify toUpperPath
docs
We're just mapping store paths to host OS paths, there is no checking what is actually at this location.
This commit is contained in:
parent
c93f78f6fa
commit
b3bdd70ea2
1 changed files with 6 additions and 2 deletions
|
@ -62,8 +62,12 @@ struct LocalOverlayStoreConfig : virtual LocalStoreConfig
|
|||
|
||||
protected:
|
||||
/**
|
||||
* Given a store path, get its location (if it is exists) in the
|
||||
* upper layer of the overlayfs.
|
||||
* @return The host OS path corresponding to the store path for the
|
||||
* upper layer.
|
||||
*
|
||||
* @note The there is no guarantee a store object is actually stored
|
||||
* at that file path. It might be stored in the lower layer instead,
|
||||
* or it might not be part of this store at all.
|
||||
*/
|
||||
Path toUpperPath(const StorePath & path);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue