ff32996360
new subcommand: backup list
...
- todo: fancy print
2024-03-15 04:19:26 +09:00
905d392419
add backup add
...
- change Storage::parent
- split path diff calc to util
- test for backup add
2024-03-14 08:54:12 +09:00
41b2924ad7
add test for storage add
...
- failure due to name duplication
- success with online & subdirectory with two devices
- used local git to write test (TODO?: use only git2)
2024-03-14 06:35:11 +09:00
498dd2db9b
update storage bind
2024-03-13 05:36:19 +09:00
d212d32430
add test for storage add online
2024-03-13 04:25:38 +09:00
7c8ee7a500
redesign storage add Commands
...
- replace storage add args with subcommands of physical, directory,
online
- to make argument dependencies clearer
2024-03-12 16:18:24 +09:00
8eb7d1179d
init STORAGESFILE and DEVICESFILE at repo init and change Storages.read
...
- return Err instead of new object when there is no STORAGESFILE
- setup empty DEVICESFILE and STORAGESFILE at repository initialization
- update readme
2024-03-11 09:18:17 +09:00
7e026ec229
replace raw HashMap with Storages
2024-03-10 13:00:28 +09:00
4283e1e98a
change init command & add integration test
...
- now need to specify device name via cmd arg
- can use private repository with ssh key or ssh-agent
- adding integration test utility crates
2024-03-07 14:59:58 +09:00
71e3cad6da
new: method for storage list
2024-02-24 18:31:56 +09:00
5f81eccd2d
add for online, refactored bind
2023-12-08 03:18:31 +09:00