FileMatch
A file that was matched during a code search.
type FileMatch { repo: Repository! lang: String! name: String! lines: [LineMatch!]! score: Float!}Fields
Section titled “Fields”FileMatch.repo ● Repository!non-nullobject {#repo}
Section titled “FileMatch.repo ● Repository! {#repo}”Repository in which the file was found
FileMatch.lang ● String!non-nullscalar {#lang}
Section titled “FileMatch.lang ● String! {#lang}”Detected source language
FileMatch.name ● String!non-nullscalar {#name}
Section titled “FileMatch.name ● String! {#name}”Name of matched file
FileMatch.lines ● [LineMatch!]!non-nullobject {#lines}
Section titled “FileMatch.lines ● [LineMatch!]! {#lines}”Matching lines from this file
FileMatch.score ● Float!non-nullscalar {#score}
Section titled “FileMatch.score ● Float! {#score}”Ranking score. Higher is better.
Member Of
Section titled “Member Of”CodeSearchCursor object