Closed ThatOneBro closed 1 week ago
Related question... the github code search box in their web interface doesn't work for zig
file extensions?
For example:
https://github.com/oven-sh/bun/search?q=posix_spawn_file_actions_addchdir_np&type=code
https://github.com/oven-sh/bun/search?q=posix_spawn&type=code
The search only produces results for Commits and Issues - but not Code.
Strangely, text within js
files within this repo cannot be found by Code search either:
One such occurrence not found by github Code search:
Contrast this with a global github search which will produce Code results for other projects for js
files:
Does a repo need some sort of .github yaml file to enable github Code search?
Seems to work for me but idk, maybe it's just some hiccups with search.
Could be an undocumented Github Pro thing.
I figured it out. Code search only works if you opt in to the Github Beta Feature "New Code Search and Code View". Traditional github code search is buggy and only works in certain repos.
We should at least add the aforementioned assert and terminate with error message explaining the current issue with MacOS 10.x