FileBase


Object Hierarchy:

Object hierarchy for FileBase

Description:

public abstract class FileBase : Object

Abstract base class providing common properties and methods for files and folders.

FileBase is the foundation of the file system hierarchy:

  • File: Represents individual files
  • Folder: Represents directories (can also be projects when is_project = true)
  • FileAlias: Represents symlinks/aliases to files or folders

ID Semantics

  • id = 0: New file (will be inserted into database)
  • id > 0: Existing file (will be updated in database)
  • id < 0: Fake file (not in database, skips DB operations)

Fake files are used for accessing files outside the project scope. They skip database operations in saveToDB().

All known sub-classes:

Namespace: OLLMfiles
Package: ollmchat

Content:

Properties:

Static methods:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object