Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

stats

fuzion.sys.fileio.stats

§stats(path Any, meta_data Any)
 => 
bool
:
Any 

intrinsic that fills an array with some metadata of the file/dir provided by the path
returns TRUE in case the operation was successful and FALSE in case of failure
in case the path refers to a symbolic link it resolves it and returns info about the actual file

in case an error is returned (the result of this feature is false), then the size field of
the meta_data array will contain the errno for the stat call.