@karmaniverous/jeeves
    Preparing search index...

    Interface ParseManagedResult

    Result of parsing a managed block from file content.

    interface ParseManagedResult {
        beforeContent: string;
        blockRange?: { end: number; start: number };
        found: boolean;
        managedContent: string;
        userContent: string;
        versionStamp: VersionStamp | undefined;
    }
    Index
    beforeContent: string

    Content before the BEGIN marker (trimmed).

    blockRange?: { end: number; start: number }

    Character range of the whole block, BEGIN marker through END marker (end exclusive), when found.

    Type Declaration

    • end: number

      Index just past the END marker's closing -->.

    • start: number

      Index of the BEGIN marker's first character.

    found: boolean

    Whether a valid BEGIN/END marker pair was found.

    managedContent: string

    Raw managed block content (between markers, excluding markers).

    userContent: string

    Content after the END marker (trimmed), or the whole file if not found.

    versionStamp: VersionStamp | undefined

    Version stamp from the BEGIN marker, if present.