Age | Commit message (Collapse) | Author | Files | Lines |
|
Sponsored-by: author
|
|
They're not useful now. Should probably add logging, but that will
have to wait until we have a good logging story.
Sponsored-by: author
|
|
This will make it harder to compare, say, a SHA-256 and a SHA3, later,
when we add more checksum types.
Sponsored-by: author
|
|
|
|
|
|
|
|
|
|
Less confusion with FromStr::from_str this way.
|
|
This will be useful soon, to enable us to check how many chunks from
file data there is in the repository, to check that an upcoming chunk
size setting works. Also add an API call for returning the ids.
Note that all of this is meant for testing only. It may be best to
disable it in production builds, eventually.
|
|
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.
|
|
Also heavily refactor the now-long scenario by splitting out a happy
path and some unhappy paths.
|
|
|