Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
path-with-outputs.hh File Reference
#include "path.hh"
#include "derived-path.hh"

Go to the source code of this file.

Classes

struct  nix::StorePathWithOutputs
 

Functions

std::vector< DerivedPathnix::toDerivedPaths (const std::vector< StorePathWithOutputs > ss)
 
std::pair< std::string_view, StringSet > nix::parsePathWithOutputs (std::string_view s)
 
StorePathWithOutputs nix::parsePathWithOutputs (const StoreDirConfig &store, std::string_view pathWithOutputs)
 
StorePathWithOutputs nix::followLinksToStorePathWithOutputs (const Store &store, std::string_view pathWithOutputs)
 

Function Documentation

◆ parsePathWithOutputs()

StorePathWithOutputs nix::parsePathWithOutputs ( const StoreDirConfig & store,
std::string_view pathWithOutputs )

Split a string specifying a derivation and a set of outputs (/nix/store/hash-foo!out1,out2,...) into the derivation path and the outputs.