FileSystem.getattr

Get file attributes.

Similar to stat(). The 'st_dev' and 'st_blksize' fields are ignored. The 'st_ino' field is ignored except if the 'use_ino' mount option is given. In that case it is passed to userspace, but libfuse and the kernel will still assign a different inode for internal use (called the "nodeid").

fi will always be null if the file is not currently open, but may also be null if the file is open.

class FileSystem
@null
stat_t
getattr
(
string path
,)

Meta