summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2024-04-22 09:43:41 +0200
committerGitHub <noreply@github.com>2024-04-22 09:43:41 +0200
commite8c41cdbcb1313eff006e737165ca36611da850c (patch)
treede9078e19e793f37890581dd7a3ec99aa15ae303 /etc
parenta450dd31faa38268a5975a8d9c505d3e5cffa086 (diff)
downloadspack-e8c41cdbcb1313eff006e737165ca36611da850c.tar.gz
spack-e8c41cdbcb1313eff006e737165ca36611da850c.tar.bz2
spack-e8c41cdbcb1313eff006e737165ca36611da850c.tar.xz
spack-e8c41cdbcb1313eff006e737165ca36611da850c.zip
database.py: stream of json objects forward compat (#43598)
In the future we may transform the database from a single JSON object to a stream of JSON objects. This paves the way for constant time writes and constant time rereads when only O(1) changes are made. Currently both are linear time. This commit gives just enough forward compat for Spack to produce a friendly error when we would move to a stream of json objects, and a db would look like this: ```json {"database": {"version": "<something newer>"}} ```
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions