mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 12:10:59 +01:00
16 lines
495 B
C++
16 lines
495 B
C++
#ifndef __STORESTATE_H
|
|
#define __STORESTATE_H
|
|
|
|
#include "derivations.hh"
|
|
|
|
namespace nix {
|
|
|
|
/* Create a state directory. */
|
|
void createStateDirs(const DerivationStateOutputDirs & stateOutputDirs, const DerivationStateOutputs & stateOutputs, const StringPairs & env);
|
|
|
|
/* Create and prints the output prefixed with '[commandName]:' via print(lvlError,... of a shell command. */
|
|
void executeAndPrintShellCommand(const string & command, const string & commandName);
|
|
|
|
}
|
|
|
|
#endif /* !__STORESTATE_H */
|