summaryrefslogtreecommitdiff
path: root/src/genlist.rs
AgeCommit message (Collapse)AuthorFilesLines
2021-12-31docs: add documentation comments to crateLars Wirzenius1-0/+12
Also, make it an error for a public symbol to not be documented. Sponsored-by: author
2021-08-01refactor: use a struct for GenIdLars Wirzenius1-3/+3
This means a ChunkId can't be used instead. Sponsored-by: author
2021-08-01refactor: add a type alias for generation idsLars Wirzenius1-3/+3
This will make it harder to accidentally use a string. Can still be confused with a chunk id. Sponsored-by: author
2021-07-21In errors, store chunk ids as `ChunkId`, not `String`Alexander Batischev1-2/+4
Fixes #114.
2021-03-27refactor: use .cloned() to clone items in an iteratorLars Wirzenius1-1/+1
2021-03-27refactor: drop unnecessary clonesLars Wirzenius1-1/+1
2021-02-04refactor: have per-module error enumsLars Wirzenius1-3/+9
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.
2020-12-31feat: incremental backupLars Wirzenius1-7/+2
This uses the previous, latest generation as a guideline to see what is new or changed.
2020-12-30debugLars Wirzenius1-2/+7
2020-12-30fix: add missing source filesLars Wirzenius1-0/+43