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.

Client vs daemon

This file is the **client** FileAlias (UI process). Rows arrive via RPC deserialize (rpc_register); points_to and target_path are filled by the daemon index. Scan-time creation (

new_from_info
, home-directory checks,
realpath
) lives on
ollmfilesd/FileAlias.vala
— not compiled here.

Restrictions

Security: On the daemon, aliases outside the user's home directory are rejected at scan/index time. The client displays whatever the daemon indexed.

Editor restrictions: read and write are not supported. Aliases are not used in the editor (for display only).

Notes

Aliases maintain their own path (where the symlink exists on disk) for filesystem tracking.

base_type
is
fa
for file aliases and
da
for folder aliases on the wire.


Namespace: OLLMfiles
Package: ollmchat

Content:

Properties:

Static methods:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object
All known members inherited from interface OLLMfiles.Copyable
All known members inherited from interface OLLMrpc.Bin.Serializable