◆ suffixIfPotentialMatch()
std::optional< std::string_view > nix::LookupPath::Prefix::suffixIfPotentialMatch |
( |
std::string_view | path | ) |
const |
If the path possibly matches this search path element, return the suffix that we should look for inside the resolved value of the element Note the double optionality in the name. While we might have a matching prefix, the suffix may not exist.
std::string nix::LookupPath::Prefix::s |
The documentation for this struct was generated from the following files:
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libexpr/search-path.hh
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libexpr/search-path.cc