Luna::VFS::get_file_attribute

R< FileAttribute > get_file_attribute(const Path &path)

Gets the file or directory attribute.

Parameters

  • in path

    The path of the file to check.

Return value

Returns the file attribute structure.

Possible Errors:

  • BasicError::access_denied

  • BasicError::not_found

  • BasicError::not_directory

  • BasicError::bad_platform_call for all errors that cannot be identified.