Commit Graph

77 Commits (8cd05275f0112173fd1e71c71ffdd6441d6865c3)

Author SHA1 Message Date
Noah Hsu d9eb188b7a feat: check parent dir before upload 2022-06-15 19:20:36 +08:00
Noah Hsu 083395ee53 feat: recursive create folder 2022-06-15 19:10:11 +08:00
Noah Hsu 979f8383d8 chore: move some types to model 2022-06-15 18:06:42 +08:00
Noah Hsu 6cdd85283b chore: reduce cache shards 2022-06-14 22:37:41 +08:00
Noah Hsu 5780d9d834 test: add `GetAccountVirtualFilesByPath` test 2022-06-14 22:23:33 +08:00
Noah Hsu 097b516dc5 fix: wrong virtual file name 2022-06-14 22:23:10 +08:00
Noah Hsu b73dbee7e6 chore: don't export func `GetAccountsByPath` 2022-06-14 19:49:17 +08:00
Noah Hsu b8e4a2e7c0 test: add driver and account test 2022-06-14 19:44:25 +08:00
Noah Hsu 0d4542a3f1 fix: delete account driver after get 2022-06-14 19:16:27 +08:00
Noah Hsu 7c4d28d55a feat: replace with generic_sync.MapOf 2022-06-14 19:09:54 +08:00
Noah Hsu 6accc2eff6 feat: add `NoCache` config for driver 2022-06-13 21:15:58 +08:00
Noah Hsu c525406516 feat: add cache for list files 2022-06-13 21:14:01 +08:00
Noah Hsu 6056fdbddc feat: use singleflight to prevent cache breakdown 2022-06-13 20:24:13 +08:00
Noah Hsu 2f52b5d354 feat: link cache 2022-06-13 19:56:33 +08:00
Noah Hsu e16ab876aa feat: add expiration field for `Link` 2022-06-13 15:39:47 +08:00
Xhofe 3135775250 fix: composite literal uses unkeyed fields 2022-06-11 19:01:20 +08:00
Noah Hsu 77b0c69112 feat: extract get function 2022-06-11 14:43:03 +08:00
Noah Hsu ec89bb70c7 feat: fs and operations 2022-06-10 21:00:51 +08:00
Noah Hsu cd7e9974df feat: add root prefix before operate 2022-06-10 20:20:45 +08:00
Noah Hsu 354dee67dc feat(fs): get file object 2022-06-10 17:26:43 +08:00
Noah Hsu 122b7baa73 feat(fs): list files 2022-06-10 17:18:27 +08:00
Noah Hsu c5e5666b64 feat: set account modified time 2022-06-10 16:51:20 +08:00
Noah Hsu 7b6f11fa52 feat: get account by path 2022-06-10 16:49:52 +08:00
Noah Hsu 2481676c46 feat: get account files by path 2022-06-09 23:05:52 +08:00
Noah Hsu 164dab49ac feat: get accounts by path 2022-06-09 23:05:27 +08:00
Noah Hsu e1a2ed0436 feat: driver and account operate 2022-06-09 17:11:46 +08:00
Noah Hsu 677047c80b feat: improve driver 2022-06-07 22:02:41 +08:00