Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::GCOptions Struct Reference

Classes

struct  WholeStore
struct  SpecificPaths

Public Types

using GCAction = nix::GCAction
using GCPaths = std::variant<WholeStore, SpecificPaths>

Public Attributes

GCAction action {gcDeleteDead}
bool ignoreLiveness {false}
GCPaths pathsToDelete
uint64_t maxFreed {std::numeric_limits<uint64_t>::max()}

Member Typedef Documentation

◆ GCPaths

The paths from which to delete.

Member Data Documentation

◆ ignoreLiveness

bool nix::GCOptions::ignoreLiveness {false}

If ignoreLiveness is set, then reachability from the roots is ignored (dangerous!). However, the paths must still be unreferenced within the store (i.e., there can be no other store paths that depend on them).

◆ maxFreed

uint64_t nix::GCOptions::maxFreed {std::numeric_limits<uint64_t>::max()}

Stop after at least maxFreed bytes have been freed.


The documentation for this struct was generated from the following file: