Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

Two folders in the cache directory for the same project root #885

@liushapku

Description

@liushapku

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions