summaryrefslogtreecommitdiff
path: root/src/chunk.rs
AgeCommit message (Collapse)AuthorFilesLines
2021-02-04refactor: have per-module error enumsLars Wirzenius1-2/+15
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.
2021-01-04refactor: use fetch_chunk to fetch generationLars Wirzenius1-0/+6
Also, add GenerationChunk::from_data_chunk function.
2020-12-23refactor: use a struct instead of a tupleLars Wirzenius1-1/+1
It seems this is more idiomatic in Rust.
2020-10-16feat: obnam-restore restores generation to stdoutLars Wirzenius1-2/+32
2020-10-14refactor: rename Chunk to DataChunkLars Wirzenius1-3/+3
2020-10-14refactor: move chunk metadata out of chunk structLars Wirzenius1-9/+2
2020-09-18feat: add a rudimentary chunk server main programLars Wirzenius1-0/+2
Also, add an initial subplot to document and verify acceptance criteria.
2020-09-17feat: add initial Chunk structLars Wirzenius1-0/+29