niosus / EasyClangComplete

:boom: Robust C/C++ code completion for Sublime Text 3/4
https://niosus.github.io/EasyClangComplete/
MIT License
575 stars 78 forks source link

Introduce a more thorough clean method #767

Open niosus opened 2 years ago

niosus commented 2 years ago

Before we would only clean cmake cache and that operation would regularly fail due to a bug in the code. This PR allows to clear all internal cache including the temporary folders generated before.

codecov[bot] commented 2 years ago

Codecov Report

Merging #767 (58faf01) into master (3b16eb1) will decrease coverage by 0.85%. The diff coverage is 27.27%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #767      +/-   ##
==========================================
- Coverage   82.16%   81.31%   -0.86%     
==========================================
  Files          39       39              
  Lines        3319     3328       +9     
==========================================
- Hits         2727     2706      -21     
- Misses        592      622      +30     
Impacted Files Coverage Δ
plugin/utils/tools.py 89.47% <0.00%> (ø)
plugin/view_config/view_config_manager.py 70.58% <16.66%> (-3.38%) :arrow_down:
plugin/flags_sources/cmake_file.py 80.89% <50.00%> (-0.93%) :arrow_down:
plugin/flags_sources/bazel.py 39.28% <0.00%> (-46.43%) :arrow_down:
plugin/utils/clang_utils.py 73.50% <0.00%> (-4.64%) :arrow_down:
plugin/utils/catkinizer.py 54.21% <0.00%> (-3.62%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c2e8913...58faf01. Read the comment docs.