Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
»

stat

io.file.stat

(path String, resolve bool)
 => 
outcome io.this.file.this.meta_data
[Contains abstract features]
short-hand for accessing and using stats/lstats provided by the stat effect in current environment
in success it will return a meta_data outcome storing stats regarding the file/dir
in case of failure an error will be returned
resolve flag is used to indicate whether to resolve sym links or not
NYI: lstats behaves the same as stats in the interpreter
0.094dev (2025-06-18 15:08:51 GIT hash 89cffc23ae669b0898a5564fefbf793fcb8e5ca7 built by fridi@fzen)