alist/cmd
foxxorcat 6024e8d832
refactor: split the db package hook and cache to the op package (#2747)
* refactor:separate the setting method from the db package to the op package and add the cache

* refactor:separate the meta method from the db package to the op package

* fix:setting not load database data

* refactor:separate the user method from the db package to the op package

* refactor:remove user JoinPath error

* fix:op package user cache

* refactor:fs package list method

* fix:tile virtual paths (close #2743)

* Revert "refactor:remove user JoinPath error"

This reverts commit 4e20daaf9e.

* clean path directly may lead to unknown behavior

* fix: The path of the meta passed in must be prefix of reqPath

* chore: rename all virtualPath to mountPath

* fix: `getStoragesByPath` and `GetStorageVirtualFilesByPath`

is_sub_path:

/a/b isn't subpath of /a/bc

* fix: don't save setting if hook error

Co-authored-by: Noah Hsu <i@nn.ci>
2022-12-18 19:51:20 +08:00
..
flags feat!: force to use the bin dir as the data dir (close #2108) 2022-11-01 19:16:23 +08:00
admin.go refactor: split the db package hook and cache to the op package (#2747) 2022-12-18 19:51:20 +08:00
cancel2FA.go refactor: split the db package hook and cache to the op package (#2747) 2022-12-18 19:51:20 +08:00
common.go feat: optimize database search (#2687) 2022-12-12 20:20:01 +08:00
lang.go fix(ci): sort lang json file 2022-12-05 14:40:46 +08:00
restart.go feat: silent start, stop and restart 2022-11-11 18:42:06 +08:00
root.go feat!: force to use the bin dir as the data dir (close #2108) 2022-11-01 19:16:23 +08:00
server.go feat: add support for mega.nz (close 1553) 2022-10-08 22:16:41 +08:00
start.go feat: silent start, stop and restart 2022-11-11 18:42:06 +08:00
stop.go feat: silent start, stop and restart 2022-11-11 18:42:06 +08:00
version.go chore: fix drivers not import 2022-08-07 13:23:15 +08:00