cquery
cquery copied to clipboard
Two folders in the cache directory for the same project root
I use cquery in neovim through LanguageClient-neovim. I found whenever I open a file in a project /site/home/xxx/project
(this is the project root), there are two separate folders created in the cache directory. One is @site@home@xxx@project
. The other is @@site@home@xxx@project
. (let's call them the @-dir
and the @@-dir
)
NOTE: In my system, /home
is a symlink to /site/home
.
Some of the files inside these folders duplicates. Assume there is a file /site/home/xxx/project/include/a.hpp
, two separate cache files exists:
-
@site@home@xxx@project/[email protected]
-
@@site@home@xxx@project/@home@xxx@project@[email protected]
(NOTE: nosite
appeared in the filename)
with exactly the same content. When I query some definitions, both of them will popup in the list.
Is this the normal behavior? What are the differences between the two directories.