Handbook
Glossary
ch>file-type ( ch -- type )
Vocabulary
ftp
.
client
.
listing-parser
Inputs
ch
an
object
Outputs
type
an
object
Definition
USING:
combinators
io.files.types
kernel
;
IN:
ftp.client.listing-parser
:
ch>file-type
( ch -- type )
{
{
98
[
+block-device+
]
}
{
99
[
+character-device+
]
}
{
100
[
+directory+
]
}
{
108
[
+symbolic-link+
]
}
{
115
[
+socket+
]
}
{
112
[
+fifo+
]
}
{
45
[
+regular-file+
]
}
[
drop
+unknown+
]
}
case
;