Handbook
Glossary
(directory.) ( path -- lines )
Vocabulary
tools
.
files
Inputs
path
an
object
Outputs
lines
an
object
Definition
USING:
system
;
IN:
tools.files
HOOK:
(directory.)
os
( path -- lines )
Methods
USING:
accessors
math.order
system
tools.files
unix.groups
unix.users
;
M:
unix
(directory.)
<listing-tool>
{
+permissions+
+nlinks+
+user+
+group+
+file-size+
+file-date+
+file-name+
}
>>specs
{
{
directory-entry>>
name>>
<=>
}
}
>>sort
[
[
list-files
]
with-group-cache
]
with-user-cache
;