tools.files vocabulary
Factor handbook ยป Vocabulary index


Documentation
Files tools

Metadata
Authors:Doug Coleman


Words

Tuple classes
ClassSuperclassSlots
file-listing tupledirectory-entry file-info
listing-tool tuplepath specs sort
unknown-file-spec tuplesymbol


Generic words
WordStack effect
(directory.)( path -- lines )
file-spec>string( file-listing spec -- string )


Symbol words
+available-space+
+device-name+
+directory-or-size+
+file-date+
+file-datetime+
+file-name+
+file-name/type+
+file-size+
+file-time+
+file-type+
+free-space+
+gid+
+group+
+link-target+
+mount-point+
+nlinks+
+percent-free+
+percent-used+
+permissions+
+total-space+
+type+
+uid+
+unix-datetime+
+used-space+
+user+


Ordinary words
WordStack effect
<file-listing>( directory-entry file-info -- file-listing )
<listing-tool>( path -- listing-tool )
default-file-systems-spec( -- value )
directory.( path -- )
file-system-spec( file-system-info obj -- str )
file-systems-info( spec -- seq )
file-systems.( -- )
list-files( listing-tool -- array )
list-files-fast( listing-tool -- array )
list-files-slow( listing-tool -- array )
list-slow?( listing-tool -- ? )
percent( real -- integer )
print-file-systems( spec -- )
unknown-file-spec( symbol -- * )


Class predicate words
WordStack effect
file-listing?( object -- ? )
listing-tool?( object -- ? )
unknown-file-spec?( object -- ? )


Files


Metadata files


Children from resource:basis
VocabularySummary
tools.files.unix
tools.files.windows


Children
VocabularySummary
tools.files.private