MCPcopy Create free account
hub / github.com/sourcebot-dev/sourcebot / isRepoSetQuery

Function isRepoSetQuery

packages/web/src/features/search/ir.ts:34–34  ·  view source on GitHub ↗
(query: QueryIR)

Source from the content-addressed store, hash-verified

32export const isBranchesReposQuery = (query: QueryIR): query is QueryIR & { branches_repos: BranchesRepos } => query.branches_repos != null;
33export const isRepoIdsQuery = (query: QueryIR): query is QueryIR & { repo_ids: RepoIds } => query.repo_ids != null;
34export const isRepoSetQuery = (query: QueryIR): query is QueryIR & { repo_set: RepoSet } => query.repo_set != null;
35export const isFileNameSetQuery = (query: QueryIR): query is QueryIR & { file_name_set: FileNameSet } => query.file_name_set != null;
36export const isTypeQuery = (query: QueryIR): query is QueryIR & { type: Type } => query.type != null;
37export const isSubstringQuery = (query: QueryIR): query is QueryIR & { substring: Substring } => query.substring != null;

Callers 1

traverseQueryIRFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected