has_file


Description:

public virtual async FileType has_file (string real_path) throws Error

Type recorded in the project index for @real_path.

Scan uses this for created vs modified vs removed decisions. Default returns GLib.FileType.UNKNOWN (not indexed).

Parameters:

real_path

Live project path

Returns:

Indexed GLib.FileType, or GLib.FileType.UNKNOWN

Exceptions:

GLib.Error

if the index lookup fails (caller skips the path)