-
Notifications
You must be signed in to change notification settings - Fork 19
扩展额外的 db 存储路径 #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
扩展额外的 db 存储路径 #31
Conversation
使用 export codequery_base_db_path 指定自定义路径 默认为 $HOME/.doctype 默认也是只识别 前缀为支持的文件类型 并且 后缀为 .db 的生成文件 使用不同的目录存相同名称的 db 文件 CodeQuery 将会最后使用此存储路径进行遍历 同时使用此存储路径树中的所有 db 文件进行搜索
Hi @pmup999 感謝你的 PR,很高興知道還有人使用自己做的工具 😊 |
It's up to you to modify ! |
It was too late yesterday. I wanted to say this to you to deal with. I just saw that it was not dealt with. I have revised it now. You can take a look. |
Just learned how to add commits to your PR. I will add more in these days (or weeks). 😆 |
No problem, come on! |
I will take this main idea from you:
And I am still evaluating this idea: 👀
I would like to know more about your use cases:
|
I use E.g: E.g: .doctype/ |
Okay. Next month I have a couple of days, I will wrap up this PR but remove the multiple databases part. For the multiple databases part, I will work with you to let those users in need can search through multiple databases by using a specific option. |
ok, wish I had time then |
使用 export codequery_base_db_path 指定自定义路径
默认为 $HOME/.doctype
默认也是只识别 前缀为支持的文件类型 并且 后缀为 .db 的生成文件
使用不同的目录存相同名称的 db 文件
CodeQuery 将会最后使用此存储路径进行遍历
同时使用此存储路径树中的所有 db 文件进行搜索