在以前的版本中,XDG_CACHE_HOME是日志等最合适的位置,因为它们可以被视为 \xe2\x80\x9cnon-essential\xe2\x80\x9d;但这不是很好,因为它们不是缓存数据。 \n 您应该用于$XDG_STATE_HOME存储历史记录和日志,并且$XDG_CACHE_HOME仅用于缓存数据。 \n
I think this should not be the case, and instead the tool should conform to XDG Base Directory Specification, specifically use $XDG_CACHE_HOME/clangd as its base directory. I'm not at all familiar with the code base, but I guess fixing this should be as easy as not setting the default...
# https://github.com/pypa/pip/issues/5345#issuecomment-386443351 export XDG_CACHE_HOME="\${PWD}/pip-cache" echo XDG_CACHE_HOME=\$XDG_CACHE_HOME export PIP_CACHE_DIR="\${PWD}/pip-cache" echo PIP_CACHE_DIR=\$PIP_CACHE_DIR cd trio $PYVERSION -m venv .venv 0 comments on commit ...