Commit graph

17 commits

Author SHA1 Message Date
8b0dbb2314 fix: add lifetime annotation (clippy) 2024-12-01 19:19:28 +09:00
772689ab6a change: change type of relative path shared on multiple platforms to Vector<String>
Parsers for path on Windows and Unix are different on separator character treatment.
Replacing to Vector<String> avoids this differenct for cross-platform compatibility.
2024-12-01 19:14:57 +09:00
a409a43906 (WIP) feat: stat for backup with name
- replace path funcs return from Result to Option
- add tests for `parent_backups`
2024-08-09 21:45:44 +02:00
6e1619aa18 fmt 2024-06-28 00:33:45 +09:00
87b73bd125 change types for localinfos 2024-05-21 14:45:20 +09:00
bac829c1f1 lint with clippy
fix problems reported by clippy excepts about unused functions
2024-03-18 08:36:07 +09:00
0e8bd6b4c7 remove unnecessary arguments for StorageExt::mount_path 2024-03-17 02:47:34 +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
56563a0e8b add backup related types and cmd arguments
- fix some typos & format
2024-03-13 20:09:51 +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
7e026ec229 replace raw HashMap with Storages 2024-03-10 13:00:28 +09:00
24f34da588 update storage list and some refactor 2024-03-03 06:11:25 +09:00
5f81eccd2d add for online, refactored bind 2023-12-08 03:18:31 +09:00
b54cbf00f0 online storage & fix directory parent find & and so on 2023-12-06 11:18:46 +09:00
abcb01897f new: adding sub-directory 2023-12-05 03:24:49 +09:00
7a4c1e5325 Use HashMap instead of Vector<Storage> 2023-12-04 21:34:24 +09:00
1f0e43cd52 (WIP) implementing storage::directory 2023-09-01 10:37:30 +09:00