Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
This makes it harder to lose the metadata for a chunk, or to use
unrelated metadata and chunk. Also, soon I will refactor things for
encrypting chunks, which will need metadata embedded in the encrypted
chunk.
Sponsored-by: author
|
|
This means that a function that parses step bindings can't return an
error that the document is missing a title. Such an error return would
be nonsensical, and we use the Rust type system to prevent it, at a
small cost of being a bit verbose.
Additional benefit is that the library portion of Obnam doesn't return
anyhow::Result values anymore.
|
|
This speeds startup a lot. However, the backup repository needs to be
re-created from scratch and internal APIs have change in incompatible
ways.
|
|
It seems this is more idiomatic in Rust.
|
|
git does the same thing.
This improves the wall clock time to run benchmark-store with a
million chunks from a 40.36 seconds to 18.70, on a system with NVMe
and ext4.
|
|
|
|
|
|
Also heavily refactor the now-long scenario by splitting out a happy
path and some unhappy paths.
|
|
|