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.
The problem was that open file handles prevent files from being deleted on Windows. I also had to make sure the mmapped files were unmapped before they were removable.
|2 months ago|
|cmd||2 months ago|
|index||2 months ago|
|lib||7 years ago|
|regexp||6 months ago|
|sparse||8 years ago|
|.gitignore||8 years ago|
|AUTHORS||8 years ago|
|CONTRIBUTORS||8 years ago|
|LICENSE||8 years ago|
|Makefile||2 years ago|
|README.md||5 months ago|
|codesearch.go||2 months ago|
|go.mod||6 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