Handbook
Glossary
file-exists? ( path -- ? )
Factor handbook
»
Input and output
»
File system metadata
Prev:
link-info ( path -- info )
Next:
File types
Vocabulary
io
.
files
Inputs
path
a pathname string
Outputs
?
a
boolean
Word description
Tests if the file named by
path
exists.
Definition
USING:
alien.strings
io.backend
io.files.private
kernel
;
IN:
io.files
:
file-exists?
( path -- ? )
[
normalize-path
native-string>alien
(file-exists?)
]
?call
;