Skip to content
RAGRAF

ragraf_live_read

Edition: community Capability: search Operation page: live_read

What it does

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

What problem it solves

Shows where the file on disk already differs from the index.

How to call it

ragraf_live_read(path=…)
ragraf -p config/ragraf.yaml query live_read <path>

The ellipsis stands for a value the agent supplies; optional parameters can be omitted.

Parameters

Name Type Default
pathstrrequired
startint | NoneNone
endint | NoneNone

What it returns

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