15#include <nix/flake/flakeref.hh>
93 return PkgDbReadOnly( this->dbPath.string() ).getLockedFlakeRef();
The simplest ‘Package’ implementation comprised of raw values.
Definition: raw-package.hh:35
Package metadata loaded from a ‘PkgDb’ cache.
Definition: db-package.hh:31
std::filesystem::path getDbPath() const
Definition: db-package.hh:84
row_id getPackageId() const
Definition: db-package.hh:77
void initRawPackage(PkgDbReadOnly &pkgdb)
Fill flox::RawPackage fields by reading them from pkgdb.
Definition: db-package.cc:21
nix::FlakeRef getLockedFlakeRef() const
Definition: db-package.hh:91
std::filesystem::path dbPath
Definition: db-package.hh:50
row_id pkgId
Definition: db-package.hh:49
A SQLite3 database used to cache derivation/package information about a single locked flake.
Definition: read.hh:135
flox::AttrPath getPackagePath(row_id row)
Get the attribute path for a given Packages.id.
Definition: read.cc:343
Interfaces for caching package metadata in SQLite3 databases.
Definition: command.cc:44
uint64_t row_id
Definition: pkg-query.hh:48
std::vector< std::string > AttrPath
A list of key names addressing a location in a nested JSON-like object.
Definition: types.hh:33
Interfaces for constructing complex ‘Packages’ queries.
The simplest ‘Package’ implementation comprised of raw values.
Interfaces for reading a SQLite3 package set database.
Miscellaneous typedefs and aliases.