fork of https://github.com/sourcegraph/zoekt
0

Configure Feed

Select the types of activity you want to include in your feed.

fix: sourcegraphFake only checks SG_PRIVATE (#267)

The other sentinel files were just ignored.

author
Stefan Hengl
committer
GitHub
date (Feb 10, 2022, 10:56 AM +0100) commit 5f70fa01 parent abedc191
+1 -1
+1 -1
cmd/zoekt-sourcegraph-indexserver/sg.go
··· 389 389 func (sf sourcegraphFake) getIndexOptions(name string) (IndexOptions, error) { 390 390 dir := filepath.Join(sf.RootDir, filepath.FromSlash(name)) 391 391 exists := func(p string) bool { 392 - _, err := os.Stat(filepath.Join(dir, "SG_PRIVATE")) 392 + _, err := os.Stat(filepath.Join(dir, p)) 393 393 return err == nil 394 394 } 395 395