CorfedoCorfedoDocs
Use CorfedoSearch

Search filters and examples

Copy a code search query for your task, narrow it by path, language, symbol or repository, and exclude what you do not want.

Copy a query into the search box and change the names to yours. Filters are a name, a colon and a value, with no space after the colon, in any order with your words. Start a filter with - to exclude what it matches. The search box suggests filters and values as you type. Search syntax has every filter, value and limit.

Find code

TaskQuery
The code behind a behaviorwhere are webhook signatures verified
Only under a folderretry file:^src/
Without testsretry backoff -file:test
In one languageretry lang:go
An error message"connection refused"
Text with that letter casecase:yes "ApiKey"
A pattern/retry_\w+/
Calls of a function in Golang:go /spawn_\w+\(/
Both of two wordsretry AND backoff
Either of two namesRetryPolicy OR BackoffPolicy
Text with punctuation, such as a flag"--force"

Find declarations

TaskQuery
A class by part of its namerefund type:symbol kind:class
A name in any naming stylediscount policy type:symbol
Methods that end in Async/Async$/ type:symbol kind:method
Go files that declare a name starting with Testsym:^Test lang:go

Find files

TaskQuery
Files by nameDockerfile type:path
Files by extensionfile:\.proto$

Search a set of repositories

A search covers every repository you can read unless you limit it. Select repositories or an owner beside the results, use Search in this repository or Exclude this repository in a file's ⋯ menu, or type in Search in this repository on a repository's Overview. Each choice writes a repository filter into the query.

TaskQuery
One repositoryrefund validation repo:acme/payments
Exactly that repository, not acme/payments-oldrefund validation repo:^github\.com/acme/payments$
Several repositoriesretry repo:^github\.com/acme/(payments|billing)$
One owner's repositoriesretry org:acme
Several owners' repositoriesretry (org:acme or org:globex)
Everything except some repositoriesretry -repo:docs
Repositories by namepayments type:repo
Repositories whose code mentions a nameHttpClient select:repo
A saved set of repositoriesretry context:"Backend services", see Contexts

repo: matches part of the full name, which starts with the forge host, as in github.com/acme/payments. Archived repositories and forks are included unless you add archived:no or fork:no.

Find repositories by package or advisory

TaskQuery
Repositories that use a packagedepends_on:npm/react
Repositories that use a package versiondepends_on:npm/react@>=18.2
Repositories still below a fixed versiondepends_on:npm/lodash@<4.17.21
Repositories affected by an advisoryaffected_by:CVE-2021-44228
Code in repositories that use a packageretry depends_on:npm/axios

A query of only these filters lists the repositories. They rely on dependency analysis and vulnerability scanning. A repository Corfedo cannot decide is left out, and the count line says why, for example N not analyzed or N version not checked. Select it to see which repositories and why.

On this page