Skip to content

PersistentAI API Documentation / @persistentai/fireflow-nodes / GrepResult

Class: GrepResult

Defined in: packages/fireflow-nodes/src/nodes/vfs/schemas/grep-result.schema.ts:15

Constructors

Constructor

new GrepResult(): GrepResult

Returns

GrepResult

Properties

contextAfter

contextAfter: string[] = []

Defined in: packages/fireflow-nodes/src/nodes/vfs/schemas/grep-result.schema.ts:20


contextBefore

contextBefore: string[] = []

Defined in: packages/fireflow-nodes/src/nodes/vfs/schemas/grep-result.schema.ts:19


line

line: string = ''

Defined in: packages/fireflow-nodes/src/nodes/vfs/schemas/grep-result.schema.ts:18


lineNumber

lineNumber: number = 0

Defined in: packages/fireflow-nodes/src/nodes/vfs/schemas/grep-result.schema.ts:17


path

path: string = ''

Defined in: packages/fireflow-nodes/src/nodes/vfs/schemas/grep-result.schema.ts:16

Methods

create()

static create(path, lineNumber, line, contextBefore?, contextAfter?): GrepResult

Defined in: packages/fireflow-nodes/src/nodes/vfs/schemas/grep-result.schema.ts:22

Parameters

path

string

lineNumber

number

line

string

contextBefore?

string[]

contextAfter?

string[]

Returns

GrepResult

Licensed under BUSL-1.1