File


Object Hierarchy:

Object hierarchy for File

Description:

public class File : FileBase

Represents a file in the project.

Files can be in multiple projects (due to softlinks/symlinks). All alias references are tracked in ProjectManager's alias_map.

Constructors include File(manager) for basic construction, File.new_from_info() for creating from FileInfo during directory scan, and File.new_fake() for files not in database (id = -1).

Content Access

All content access methods delegate to file.buffer. Ensure buffer is created before use:

if (file.buffer == null) {
file.manager.buffer_provider.create_buffer(file);
}
var contents = yield file.buffer.read_async();

All known sub-classes:

Namespace: OLLMfiles
Package: ollmchat

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class GLib.Object