Skip to content
RAGRAF

live_read

Edition: community ragraf_live_read

Reading the current file, highlighting what differs from the index (FT-31)

Parameters

Name Type Default
pathstrrequired
startint | NoneNone
endint | NoneNone

Call example

ragraf -p config/ragraf.yaml query live_read <path>

Angle brackets mark a required parameter; defaults may be omitted.

What it returns

changed_since_index, path, requested, sha256_index, sha256_now, text, total_lines

When it refuses

An empty result is exit code 0 with found=false, not an error. Code 3 is returned only when the operation cannot run right now: for example slice when capability is not full. The reason is always named in the note field.