File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -54,20 +54,29 @@ nb localstore
5454
5555参考路径如下:
5656
57- ### cache path
57+ ### ` LOCALSTORE_USE_CWD ` 为 true 时:
58+ - cache path: ` <CurrentWorkspaceDir>/cache/ `
59+ - data path: ` <CurrentWorkspaceDir>/data/ `
60+ - config path: ` <CurrentWorkspaceDir>/config/ `
61+
62+ (` CurrentWorkspaceDir ` 一般为 nonebot 实例的运行目录)
63+
64+ ### ` LOCALSTORE_USE_CWD ` 为 false / 未配置时:
65+
66+ #### cache path
5867
5968- macOS: ` ~/Library/Caches/<AppName> `
6069- Unix: ` ~/.cache/<AppName> ` (XDG default)
6170- Windows: ` C:\Users\<username>\AppData\Local\<AppName>\Cache `
6271
63- ### data path
72+ #### data path
6473
6574- macOS: ` ~/Library/Application Support/<AppName> `
6675- Unix: ` ~/.local/share/<AppName> ` or in $XDG_DATA_HOME, if defined
6776- Win XP (not roaming): ` C:\Documents and Settings\<username>\Application Data\<AppName> `
6877- Win 7 (not roaming): ` C:\Users\<username>\AppData\Local\<AppName> `
6978
70- ### config path
79+ #### config path
7180
7281- macOS: same as user_data_dir
7382- Unix: ` ~/.config/<AppName> `
You can’t perform that action at this time.
0 commit comments