alist/internal/bootstrap
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
..
data refactor: split the db package hook and cache to the op package (#2747) 2022-12-18 19:51:20 +08:00
aria2.go fix: async init aria2 to optimize start duration 2022-12-04 00:00:40 +08:00
config.go feat!: disable `--force-bin-dir` if `--data` is abs 2022-12-05 18:32:48 +08:00
db.go feat(search): use `FULLTEXT` index (close #2716 pr #2726) 2022-12-16 16:51:36 +08:00
index.go feat: Search enhancement (#2562) 2022-12-05 13:28:39 +08:00
log.go feat: log to stdout & file (#2709) 2022-12-14 13:19:08 +08:00
storage.go style: shorten name `operations` to `op` 2022-08-31 21:01:15 +08:00