FileHistory


Object Hierarchy:

Object hierarchy for FileHistory

Description:

public class FileHistory : Object

Represents a file change history entry. Handles backup creation and database storage for file changes.

This class tracks what happened to each file during command execution and edit file actions. It is organized around files (what users understand), not operations (implementation details).

Key Purpose

This table is primarily for user review, approval, and restoration of changes: - User thinks in terms of files: "What happened to file X?" rather than "What operations occurred?" - Listing file changes for user review before applying them - Backing up files so they can be compared (diff) - Approving/rejecting file changes with ability to restore if rejected - Restoring files if changes are rejected - Reviewing what changed and when for each file

Ignored Files

Files with `is_ignored = true` are filtered out and not tracked in the file_history table. Only non-ignored files are recorded in the history for user review and approval.


Namespace: OLLMfiles
Package: ollmchat

Content:

Properties:

Static methods:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object