FileAlias


Object Hierarchy:

Object hierarchy for FileAlias

Description:

public class FileAlias : File

Represents a symlink/alias to a file or folder.

Many properties delegate to the target file (language, last_viewed, is_need_approval, is_unsaved). The points_to property references the target file/folder, while points_to_id and target_path store the database ID and resolved path respectively.

Restrictions

Security: Aliases are restricted to user's home directory. Aliases outside home directory are rejected.

Editor Restrictions: write() and read_async() throw IOError.NOT_SUPPORTED. Aliases are not used in the editor (for display only).

Notes

Aliases resolve symlinks completely using realpath(). Target must exist and be within home directory. Aliases maintain their own path (where the symlink exists) for filesystem tracking.


Namespace: OLLMfiles
Package: ollmchat

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object