Skip to main content

read_result

Function read_result 

Source
fn read_result(
    decoded: DecodedFile,
    read_only: bool,
) -> CommandReadEditorFileResult
Expand description

The reply to a read: the detected encoding, BOM and line ending ride back so a save round-trips the original format. See docs/specs/SPEC_EDITOR_FILE_ENCODINGS_2026_06_17.md.