aboutsummaryrefslogtreecommitdiff
path: root/tests/file-systems.scm
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-30 12:04:27 +0200
committerLudovic Courtès <ludo@gnu.org>2016-10-28 22:30:17 +0200
commit517ce0c15bdf802b3c378fff48b1e5be4167a4fa (patch)
treefeaaf9525aa3e278c2c79259ea388032afa52778 /tests/file-systems.scm
parenta9afb956b3232ccfb7deaf3feed02b60a12d65bf (diff)
downloadguix-517ce0c15bdf802b3c378fff48b1e5be4167a4fa.tar
guix-517ce0c15bdf802b3c378fff48b1e5be4167a4fa.tar.gz
daemon: Turn retrying SQLite transactions into a higher-order function.
* nix/libstore/local-store.cc (retry_sqlite, end_retry_sqlite): Remove. (retrySQLite): New template. (LocalStore::registerFailedPath, LocalStore::hasPathFailed) (LocalStore::queryFailedPaths, LocalStore::clearFailedPaths) (LocalStore::queryPathInfo, LocalStore::isValidPath_) (LocalStore::queryValidPaths, LocalStore::queryAllValidPaths) (LocalStore::queryReferrers, LocalStore::queryValidDerivers) (LocalStore::queryDerivationOutputs) (LocalStore::queryDerivationOutputNames) (LocalStore::queryPathFromHashPart, LocalStore::registerValidPaths) (LocalStore::invalidatePathChecked): Use it. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'tests/file-systems.scm')
0 files changed, 0 insertions, 0 deletions