file-exists? filename | Function |
Returns true iff the file named filename actually exists. |
file-directory? filename | Function |
Returns true iff the file named filename actually exists and is a directory. |
file-readable? filename | Function |
Returns true iff the file named filename actually exists and can be read from. |
file-writable? filename | Function |
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-file filename | Function |
Delete the file named filename. |
rename-file oldname newname | Function |
Renames the file named oldname to newname. |
copy-file oldname newname-from path-to | Function |
Copy the file named oldname to newname. The return value is unspecified. |
create-directory dirname | Function |
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.)
|
system-tmpdir | Function |
Return the name of the default directory for temporary files. |
make-temporary-file [format] | Function |
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 current implementation is not safe from race conditions;
this will be fixed in a future release (using Java2 features).
|