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

Prev:file-executable? ( path -- ? )
Next:file-systems ( -- array )


Vocabulary
io.files.info

Inputs
patha pathname string


Outputs
file-system-infoa file-system-info-tuple


Word description
Returns a platform-specific object describing the file-system that contains the path. The cross-platform slot is free-space.

Examples
USING: io.files.info io.pathnames math prettyprint ; IN: scratchpad : gb ( m -- n ) 30 2^ * ; home file-system-info free-space>> 100 gb < .
f


Definition


Methods