Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::GCOperation Class Reference

Public Member Functions

 GCOperation (LocalStore const &store, Path stateDir)
void addTempRoot (std::string rootHashPart)
void releasePending ()
bool markPendingIfPresent (std::string const &hashPart)

Detailed Description

Class holding a server to receive new GC roots.

Member Function Documentation

◆ markPendingIfPresent()

bool nix::GCOperation::markPendingIfPresent ( std::string const & hashPart)
inline

Marks a path as pending deletion if it is not in tempRoots.

Returns whether it was marked for deletion.


The documentation for this class was generated from the following file:
  • lix/libstore/gc.cc