mirror of
https://github.com/NixOS/nix
synced 2025-06-26 15:51:15 +02:00
Add note about this being a temp solution
This commit is contained in:
parent
89e21ab4bd
commit
e27b7e04bf
1 changed files with 7 additions and 0 deletions
|
@ -11,6 +11,10 @@
|
||||||
|
|
||||||
namespace nix {
|
namespace nix {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Note there is a decent chance this type soon goes away because the problem is solved another way.
|
||||||
|
* See the discussion in https://github.com/NixOS/nix/pull/9985.
|
||||||
|
*/
|
||||||
enum class SymlinkResolution {
|
enum class SymlinkResolution {
|
||||||
/**
|
/**
|
||||||
* Resolve symlinks in the ancestors only.
|
* Resolve symlinks in the ancestors only.
|
||||||
|
@ -121,6 +125,9 @@ struct SourcePath
|
||||||
/**
|
/**
|
||||||
* Resolve any symlinks in this `SourcePath` according to the
|
* Resolve any symlinks in this `SourcePath` according to the
|
||||||
* given resolution mode.
|
* given resolution mode.
|
||||||
|
*
|
||||||
|
* @param mode might only be a temporary solution for this.
|
||||||
|
* See the discussion in https://github.com/NixOS/nix/pull/9985.
|
||||||
*/
|
*/
|
||||||
SourcePath resolveSymlinks(
|
SourcePath resolveSymlinks(
|
||||||
SymlinkResolution mode = SymlinkResolution::Full) const;
|
SymlinkResolution mode = SymlinkResolution::Full) const;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue