diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-01-05 12:54:53 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-01-05 14:05:37 +0200 |
commit | 8a42fc1c9dc3da6936fe8e1d0d16fbe8a60ec520 (patch) | |
tree | 7c2d38852e6f1eec5c357b2304a04dc332b8d953 /src/lib.rs | |
parent | 678e65c57ae983ef66d16e92965814b0f3f0d73f (diff) | |
download | obnam2-8a42fc1c9dc3da6936fe8e1d0d16fbe8a60ec520.tar.gz |
refactor: move policy on whether to back up a file into a module
This commit also splits up the src/cmd/backup.rs module into other,
smaller, more cohesive modules that are easier to understand and use.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,3 +1,6 @@ +pub mod backup_progress; +pub mod backup_reason; +pub mod backup_run; pub mod benchmark; pub mod checksummer; pub mod chunk; @@ -13,5 +16,6 @@ pub mod generation; pub mod genlist; pub mod index; pub mod indexedstore; +pub mod policy; pub mod server; pub mod store; |