Skip to main content

SearchResult

API reference

Implements Node

absoluteOffset: Int!

The byte offset of this line within the file.

filePath: String!

The path to the file that matched.

id: ID!

A unique identifier for this SearchResult.

lineNumber: Int!

The first line that matched.

matchedLines: String!

The line content that matched.

submatches: [SearchSubmatch!]!

Sub-match positions and content within the matched lines.

References

Returned by

Accepted as an argument by