cquery icon indicating copy to clipboard operation
cquery copied to clipboard

Two folders in the cache directory for the same project root

Open liushapku opened this issue 4 years ago • 0 comments

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:

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.

liushapku avatar Dec 13 '19 08:12 liushapku