Age | Commit message (Collapse) | Author | Files | Lines |
|
This will make it harder to compare, say, a SHA-256 and a SHA3, later,
when we add more checksum types.
Sponsored-by: author
|
|
|
|
This makes is harder to accidentally use the wrong metadata for a
chunk.
|
|
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
|
|
All unclear error messages should now be clearer. For example, all the
ones related to a file mention the file name and the attempted
operation that failed.
|
|
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.
|
|
Also, add GenerationChunk::from_data_chunk function.
|
|
It seems this is more idiomatic in Rust.
|
|
|
|
|
|
|
|
Also, add an initial subplot to document and verify acceptance criteria.
|
|
|