You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* Remove global variables for cindex in order to make it easier to reason about behavior across runs. I am not sure this fixed any problems, but it does help comprehension. * Add a callback called before each file that is added to the index. This will eventually be used to provide performance metrics and give the user an idea which files/media are taking the most time to scan.
|2 months ago|
|cmd||2 months ago|
|index||2 months ago|
|lib||8 years ago|
|regexp||11 months ago|
|sparse||8 years ago|
|.gitignore||8 years ago|
|AUTHORS||8 years ago|
|CONTRIBUTORS||8 years ago|
|LICENSE||8 years ago|
|Makefile||3 years ago|
|README.md||10 months ago|
|codesearch.go||2 months ago|
|go.mod||11 months ago|
Macoy's fork: Fork of junkblocker/codesearch to make it embeddable in a C/C++ project.
A fork of Google Code Search to make it a more generally usable tool
To install this fork
With Go 1.16 or newer
cd / go install github.com/junkblocker/codesearch/cmd/...@latest
With Go 1.15 or older
cd / GO111MODULE=on go get -u github.com/junkblocker/codesearch/cmd/...
- New releases https://github.com/junkblocker/codesearch/releases
- Old releases https://github.com/junkblocker/codesearch-pre-github/releases
Old fork pre-"Google on Github" days
Original Google codesearch README content
Code Search is a tool for indexing and then performing regular expression searches over large bodies of source code. It is a set of command-line programs written in Go. Binary downloads are available for those who do not have Go installed. See https://github.com/google/codesearch. For background and an overview of the commands, see http://swtch.com/~rsc/regexp/regexp4.html. To install: go get github.com/google/codesearch/cmd/... Use "go get -u" to update an existing installation. Russ Cox email@example.com June 2015