I hereby claim:
- I am ccheek21 on github.
- I am ccheek21 (https://keybase.io/ccheek21) on keybase.
- I have a public key ASC8-T8RVmBRnx7PprxVazhcUhlVymIT8c4F61taLxMc_go
To claim this, I am signing this object:
package main | |
import ( | |
"bufio" | |
"bytes" | |
"context" | |
"encoding/json" | |
"errors" | |
"fmt" | |
"net/http" |
// Start workers. They read from files and write to matches. | |
for i := 0; i < numWorkers; i++ { | |
rg := rg.Copy() | |
g.Go(func() error { | |
for ctx.Err() == nil { | |
// grab a file to work on | |
filesmu.Lock() | |
if len(files) == 0 { | |
filesmu.Unlock() | |
return nil |
with owned_globs as ( | |
select | |
directory || unnest(regexp_matches(content, '^([^\s]+)\s+@camdencheek)')[1]) as glob, | |
from files | |
where name = 'CODEOWNERS' | |
), owned_files as ( | |
select * | |
from files | |
where exists ( | |
select * |
{ | |
"uri": "/Users/camdencheek/src/sourcegraph/sourcegraph/cmd/searcher/internal/search/search_structural.go", | |
"matches": [ | |
{ | |
"range": { | |
"start": { | |
"offset": 1152, | |
"line": 32, | |
"column": 21 | |
}, |
Camden Cheek,John Soltis,Dan Minahan,Josh Hasler,Ben Weil;Jake Thorne,Matt Myers |
I hereby claim:
To claim this, I am signing this object: