|
Flox Package Database 1
CRUD Operations on Nix Package Metadata
|
Implementations for reading a SQLite3 package set database. More...
#include <functional>#include <limits>#include <list>#include <memory>#include <string>#include <unordered_set>#include <vector>#include "flox/flake-package.hh"#include "flox/pkgdb/read.hh"Namespaces | |
| namespace | flox |
Interfaces for use by flox. | |
| namespace | flox::pkgdb |
| Interfaces for caching package metadata in SQLite3 databases. | |
Functions | |
| bool | flox::pkgdb::isSQLError (int rcode) |
| Predicate to detect failing SQLite3 return codes. | |
| std::ostream & | flox::pkgdb::operator<< (std::ostream &oss, const SqlVersions &versions) |
| Emit version information to an output stream. | |
| std::filesystem::path | flox::pkgdb::getPkgDbCachedir () |
| Get the default pkgdb cache directory to save databases. | |
| std::filesystem::path | flox::pkgdb::genPkgDbName (const Fingerprint &fingerprint, const std::filesystem::path &cacheDir=getPkgDbCachedir()) |
| Get an absolute path to the ‘PkgDb’ for a given fingerprint hash. | |
Implementations for reading a SQLite3 package set database.