Luna::VFS::DriverDesc::on_get_file_attribute
R< FileAttribute >(* on_get_file_attribute) (void *driver_data, void *mount_data, const Path &path)
Called when VFS::get_file_attribute is called on one file or directory belongs to one device of this driver.
Parameters
-
in driver_data
The user-provided driver data.
-
in mount_data
The mount data returned by on_mount for the device.
-
in path
The path of the file or directory to check relative to the mount root path.
Return value
Returns the file attribute object.