My fork of codesearch for turning it into a C library.
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.
 
 
 
Macoy Madson c5f1d5ebd4 Fix temporary file deletion not working on Windows 2 months ago
cmd Fix temporary file deletion not working on Windows 2 months ago
index Fix temporary file deletion not working on Windows 2 months ago
lib Make a clone of github.com/google/codesearch 7 years ago
regexp Make it possible to import csearch and index HACK 6 months ago
sparse Update contributors and suitable license texts 8 years ago
.gitignore Binaries release support 8 years ago
AUTHORS Update contributors and suitable license texts 8 years ago
CONTRIBUTORS Update contributors and suitable license texts 8 years ago
LICENSE Binaries release support 8 years ago
Makefile Minor makefile updates 2 years ago
README.md Slightly clarify readme 5 months ago
codesearch.go Move temporary files into specified directory 2 months ago
go.mod Make it possible to import csearch and index HACK 6 months ago

README.md

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/...

Prebuilt binaries

Old fork pre-"Google on Github" days

https://github.com/junkblocker/codesearch-pre-github

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
rsc@swtch.com
June 2015