foo-webview-sdk
    Preparing search index...

    Interface LogReadSuccess

    Successful response from log.read.

    interface LogReadSuccess {
        content: string;
        lineCount: number;
        lines?: string[];
        success: true;
        totalLines?: number;
    }
    Index
    content: string

    The returned lines joined with \n.

    lineCount: number

    Number of lines returned.

    lines?: string[]

    The returned lines. Absent when the file does not exist.

    success: true

    Always true here; a failed call resolves with ApiFailure instead.

    totalLines?: number

    Number of lines in the whole file. Absent when the file does not exist.