예제 #1
0
func init() {
	if runtime.GOMAXPROCS(0) == 1 {
		runtime.GOMAXPROCS(runtime.NumCPU())
	}
	gsutil.Flag(&gs, "graphstore", "GraphStore to serve xrefs")
	flag.Usage = flagutil.SimpleUsage("Exposes HTTP/GRPC interfaces for the search, xrefs, and filetree services",
		"(--graphstore spec | --serving_table path) [--listen addr] [--grpc_listen addr] [--public_resources dir]")
}
예제 #2
0
func init() {
	if runtime.GOMAXPROCS(0) == 1 {
		runtime.GOMAXPROCS(runtime.NumCPU())
	}
	flag.Usage = flagutil.SimpleUsage("Write a delimited stream of entries from stdin to a GraphStore",
		"[--batch_size entries] [--workers n] --graphstore spec")
	gsutil.Flag(&gs, "graphstore", "GraphStore to which to write the entry stream")
}
예제 #3
0
파일: write_tables.go 프로젝트: kidaa/kythe
func init() {
	if runtime.GOMAXPROCS(0) == 1 {
		runtime.GOMAXPROCS(runtime.NumCPU())
	}
	gsutil.Flag(&gs, "graphstore", "GraphStore to read")
	flag.Usage = flagutil.SimpleUsage("Creates a combined xrefs/filetree/search serving table based on a given GraphStore",
		"--graphstore spec --out path")
}
예제 #4
0
func init() {
	flag.Usage = flagutil.SimpleUsage("Write a delimited stream of entries from stdin to a GraphStore",
		"[--batch_size entries] [--workers n] --graphstore spec")
	gsutil.Flag(&gs, "graphstore", "GraphStore to which to write the entry stream")
}
예제 #5
0
파일: triples.go 프로젝트: gameduell/kythe
func init() {
	gsutil.Flag(&gs, "graphstore", "Path to GraphStore to convert to triples (instead of an entry stream)")
	flag.Usage = flagutil.SimpleUsage("Converts an Entry stream to a stream of triples",
		"[(--graphstore path | entries_file) [triples_out]]")
}
예제 #6
0
파일: write_tables.go 프로젝트: baev/kythe
func init() {
	gsutil.Flag(&gs, "graphstore", "GraphStore to read")
	flag.Usage = flagutil.SimpleUsage("Creates a combined xrefs/filetree/search serving table based on a given GraphStore",
		"--graphstore spec --out path")
}
예제 #7
0
파일: read_entries.go 프로젝트: jwatt/kythe
func init() {
	gsutil.Flag(&gs, "graphstore", "GraphStore to read")
	flag.Usage = flagutil.SimpleUsage("Scans/reads the entries from a GraphStore, emitting a delimited entry stream to stdout",
		"--graphstore spec [--count] [--shards N [--shard_index I] --sharded_file path] [--edge_kind] ([--fact_prefix str] [--target ticket] | [ticket...])")
}
예제 #8
0
func init() {
	gsutil.Flag(&gs, "graphstore", "GraphStore to serve xrefs")
	flag.Usage = flagutil.SimpleUsage("Exposes HTTP/GRPC interfaces for the xrefs and filetree services",
		"(--graphstore spec | --serving_table path) [--listen addr] [--grpc_listen addr] [--public_resources dir]")
}
예제 #9
0
func init() {
	gsutil.Flag(&gs, "graphstore", "GraphStore to read (mutually exclusive with --entries)")
	flag.Usage = flagutil.SimpleUsage(
		"Creates a combined xrefs/filetree/search serving table based on a given GraphStore or stream of GraphStore-ordered entries",
		"(--graphstore spec | --entries path) --out path")
}