zoekt: 47
files / 68
matches / 1.68ms neogrok: 20 files / 40
matches
github.com/sourcegraph/zoektcmd/zoekt/main.go 2 matches | Go | №1
15 // The 'zoekt' command supports searching over an index directory or shard.
16 package main
17
155
156 func main() {
157 shard := flag.String("shard", "", "search in a specific shard")
github.com/sourcegraph/zoektcmd/zoekt-test/main.go 2 matches | Go | №2
15 // Command zoekt-test compares the zoekt results with raw substring search.
16 package main
17
203
204 func main() {
205 repo := flag.String("repo", "", "repository to search")
63
64 int main(int argc, char **argv) { // LF_PROCEDURE
65 const int X = 7; // LF_MODIFIER
github.com/sourcegraph/zoektcmd/zoekt-index/main.go 2 matches | Go | №4
15 // Command zoekt-index indexes a directory of files.
16 package main
17
60
61 func main() {
62 cpuProfile := flag.String("cpu_profile", "", "write cpu profile to file")
16 // an index generated by another program such as zoekt-indexserver.
17 package main
18
135
136 func main() {
137 logDir := flag.String("log_dir", "", "log to this directory rather than stderr.")
16 // repositories and supports git-specific features like branches and submodules.
17 package main
18
144
145 func main() {
146 exitStatus := run()
18 // point the --token option to it.
19 package main
20
33
34 func main() {
35 dest := flag.String("dest", "", "destination directory")
28 // master:default_unrestricted.xml
29 package main
30
122
123 func main() {
124 sizeMax := flag.Int("file_limit", 128<<10, "maximum file size")
16 // a "pull-based" design, where it reaches out to code hosts to fetch new data.
17 package main
18
250
251 func main() {
252 var opts Options
13 // Command zoekt-merge-index merges a set of index shards into a compound shard.
14 package main
15
144
145 func main() {
146 switch subCommand := os.Args[1]; subCommand {
18 // the --token option to it.
19 package main
20
50
51 func main() {
52 dest := flag.String("dest", "", "destination directory")
15 // Command zoekt-mirror-gerrit fetches all repos of a Gerrit host.
16 package main
17
18 // --token option to it.
19 package main
20
54
55 func main() {
56 dest := flag.String("dest", "", "destination directory")
23 // password <personal access token>
24 package main
25
40
41 func main() {
42 dest := flag.String("dest", "", "destination directory")
7 // zoekt-archive-index -branch master https://github.com/gorilla/mux/commit/b57cb1605fd11ba2ecfa7f68992b4b9cc791934d
8 package main
9
19
20 func main() {
21 var (
16 // It does double duty for other "simple" web hosts.
17 package main
18
37
38 func main() {
39 dest := flag.String("dest", "", "destination directory")
18 // * reindexes specified repositories
19 package main
20
285
286 func main() {
287 opts := parseOptions()
15 // reaches out to the Sourcegraph instance for the list of repositories to reindex.
16 package main
17
1261 // determine if we need to run tmpfriend.
1262 Main bool
1263
1646
1647 func main() {
1648 liblog := sglog.Init(sglog.Resource{
14 // optionally of a specific type, and clones them.
15 package main
16
34
35 func main() {
36 dest := flag.String("dest", "", "destination directory")