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