I deleted a bunch of .cc files on GitHub, but it stills sees them for the purpose of calculating language stats. So it labels the repo as C++ even though it's all Python.
I read through guide here but didn't find anything about how it handles deleted files. https://github.com/github/linguist#how-linguist-works-on-githubcom
Edit: The reason I thought this happened is that when I click the C++ percentage it shows all the .cc files in the folder where they used to be. But I actually didn't delete them, I just moved them into a folder called generated
. After waiting overnight, now it shows the files in the correct location in the generated folder, so it was just a time delay issue.
But now I am not sure why they're still showing. From the Linguist docs, I thought anything inside a generated
folder is ignored.