Parents: | io |
Authors: | Slava Pestov, Daniel Ehrenberg |
Class | Superclass | Slots |
no-such-file | tuple | path |
file-reader |
file-writer |
Word | Stack effect |
(file-appender) | ( path -- stream ) |
(file-reader) | ( path -- stream ) |
(file-writer) | ( path -- stream ) |
(file-writer-secure) | ( path -- stream ) |
drain | ( port handle -- event/f ) |
refill | ( port handle -- event/f ) |
wait-for-fd | ( handle event -- ) |
+input+ |
+output+ |
+retry+ |
Word | Stack effect |
<file-appender> | ( path encoding -- stream ) |
<file-reader> | ( path encoding -- stream ) |
<file-writer-secure> | ( path encoding -- stream ) |
<file-writer> | ( path encoding -- stream ) |
change-file-contents | ( ..a path encoding quot: ( ..a seq -- ..b seq' ) -- ..b ) |
change-file-lines | ( ..a path encoding quot: ( ..a seq -- ..b seq' ) -- ..b ) |
check-file-exists | ( path -- path ) |
file-contents | ( path encoding -- seq ) |
file-exists? | ( path -- ? ) |
file-lines | ( path encoding -- seq ) |
if-file-exists | ( ..a path true: ( ..a path -- ..b ) false: ( ..a path -- ..b ) -- ..b ) |
init-resource-path | ( -- ) |
no-such-file | ( path -- * ) |
set-file-contents | ( seq path encoding -- ) |
set-file-lines | ( seq path encoding -- ) |
unless-file-exists | ( ... path quot: ( ... path -- ... ) -- ... ) |
when-file-exists | ( ... path quot: ( ... path -- ... ) -- ... ) |
with-file-appender | ( path encoding quot -- ) |
with-file-reader | ( path encoding quot -- ) |
with-file-writer | ( path encoding quot -- ) |
with-file-writer-secure | ( path encoding quot -- ) |
Word | Stack effect |
file-reader? | ( object -- ? ) |
file-writer? | ( object -- ? ) |
no-such-file? | ( object -- ? ) |
Vocabulary | Summary |
io.files.info | File and file system metadata |
io.files.links | Working with symbolic links |
io.files.temp | |
io.files.types | File types for file-info and directory listing |
io.files.unique | Temporary files with unique names |
io.files.unix | Implementation of reading and writing files on Unix-like systems |
io.files.windows |
Vocabulary | Summary |
io.files.acls | |
io.files.trash | Send files to the trash bin. |