Next: Reading and writing whole files, Previous: Paths - file name, URLs, and URIs, Up: Input, output, and file handling [Contents][Index]
Returns true iff the file named filename actually exists.
This function is defined on arbitrary path
values:
for URI values we open a URLConnection
and invoke getLastModified()
.
Returns true iff the file named filename actually exists
and is a directory.
This function is defined on arbitrary path
values;
the default implementation for non-file objects is to
return #t
iff the path string ends with the character ‘/’.
Returns true iff the file named filename actually exists and can be read from.
Returns true iff the file named filename actually exists and can be writen to. (Undefined if the filename does not exist, but the file can be created in the directory.)
Delete the file named filename. On failure, throws an exception.
Renames the file named oldname to newname.
Copy the file named oldname to newname. The return value is unspecified.
Create a new directory named dirname.
Unspecified what happens on error (such as exiting file with the same name).
(Currently returns #f
on error, but may change to be more compatible
with scsh.)
Return the name of the default directory for temporary files.
Return a file with a name that does not match any existing file.
Use format (which defaults to "kawa~d.tmp"
) to generate
a unique filename in (system-tmpdir)
.
The implementation is safe from race conditions,
and the returned filename will not be reused by this JVM.
Next: Reading and writing whole files, Previous: Paths - file name, URLs, and URIs, Up: Input, output, and file handling [Contents][Index]