Handbook
Glossary
file-exists? ( path -- ? )
Factor handbook
»
Input and output
»
File system metadata
Prev:
link-info ( path -- info )
Next:
directory? ( path/info -- ? )
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
;
IN:
io.files
:
file-exists?
( path -- ? )
normalize-path
native-string>alien
(file-exists?)
;