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

Prev:file-info ( path -- info )
Next:file-exists? ( path -- ? )


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, information about the symbolic link itself is returned. See the article File types for a list of metadata symbols.

Errors
Throws an error if the file does not exist.

See also
file-info, file-info-tuple

Definition


Methods