DummyFileBuffer


Object Hierarchy:

Object hierarchy for DummyFileBuffer

Description:

public class DummyFileBuffer : Object, FileBuffer

In-memory buffer implementation for non-GTK contexts (tools, CLI).

Uses in-memory string[] array for line cache. No GTK dependencies. Always reads from disk (no timestamp checking). No cursor/selection support (returns defaults). sync_to_file() is not supported (throws IOError.NOT_SUPPORTED).

When to Use

Use DummyFileBuffer when:

  • Working in non-GUI context (CLI tools, background processing)
  • No GTK dependencies available
  • Simple file read/write operations
  • Line range extraction
  • Batch file processing

Namespace: OLLMfiles
Package: ollmchat

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object