News for hackers. Stuff that matters.
Re:Github1s – One second to read GitHub code with VS Code by dstaley on Wednesday February 10, 2021 @12:06PM (#26091837)
If you open your browser's network panel, you can see the secret sauce here: GitHub's API. Each time you open a file, the UI makes a request to GitHub's API for the content. That's why it's dramatically faster than cloning a repo; instead of pulling the entire history of the repo upfront, it dynamically requests only the files viewed.
Re:Github1s – One second to read GitHub code with VS Code by soheil on Wednesday February 10, 2021 @12:59PM (#26092559)
So I guess this explains why search doesn't work as expected.