Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
This is clearer, easier to modify than having a flag to indicate which
variant we're running.
|
|
This makes it possible to later have different progress bars for
initial and incremental backup runs. However, for now the bars are
identical.
|
|
Such files won't be restored, as they'd be restored as empty file, and
that would be confusing and thus bad.
|
|
New name is more precise. The meaning of the enum variant hasn't changed.
|
|
Just in case the SQLite DB stores a reason this version of Obnam
doesn't understand, we handle that now.
|
|
Use the chunk_size setting for file data. For the SQLite file, use a
hard-coded size instead.
|
|
Configuration setting can disable it.
|
|
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 commit also splits up the src/cmd/backup.rs module into other,
smaller, more cohesive modules that are easier to understand and use.
|