mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00: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
@ -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 New Issue
Block a user