file-info ( path -- info )
Factor handbook » Input and output » File system metadata

Next:link-info ( path -- info )


Vocabulary
io.files.info

Inputs
patha pathname string


Outputs
infoa file-info-tuple


Word description
Queries the file system for metadata. If path refers to a symbolic link, it is followed. See the article File types for a list of metadata symbols.

Errors
Throws an error if the file does not exist.

See also
link-info, file-info-tuple

Definition


Methods