Filesystem library
File | Filesystem library |
(mosh file) | Filesystem Library |
Functions | |
create-directory | Create a directory. |
delete-directory | Delete a directory. |
rename-file | Rename a file. |
create-symbolic-link | Create a symbolic link. |
file-directory? | Returns #t if file is directory, otherwise #f. |
file-symbolic-link? | Returns #t if file is symbolic link, otherwise #f. |
file-symbolic-link? | Returns #t if file is symbolic link, otherwise #f. |
file-regular? | Returns #t if file is regular file, otherwise #f. |
file-readable? | Returns #t if file is readable, otherwise #f. |
file-writable? | Returns #t if file is writable, otherwise #f. |
file-executable? | Returns #t if file is executable, otherwise #f. |
file-size-in-bytes | Returns file size in bytes. |
file-stat-mtime | Returns last modify time of file. |
file-stat-atime | Returns last access time of file. |
file-stat-ctime | Returns last change time (or creation time on Windows) of file. |
directory-list | Read directory and returns result as list of string. |
file->list | Convenience procedures to read from a file filename. |
file->string | Convenience procedures to read from a file filename. |
write-to-file | Write string to file |
Filesystem Library
Functions | |
create-directory | Create a directory. |
delete-directory | Delete a directory. |
rename-file | Rename a file. |
create-symbolic-link | Create a symbolic link. |
file-directory? | Returns #t if file is directory, otherwise #f. |
file-symbolic-link? | Returns #t if file is symbolic link, otherwise #f. |
file-symbolic-link? | Returns #t if file is symbolic link, otherwise #f. |
file-regular? | Returns #t if file is regular file, otherwise #f. |
file-readable? | Returns #t if file is readable, otherwise #f. |
file-writable? | Returns #t if file is writable, otherwise #f. |
file-executable? | Returns #t if file is executable, otherwise #f. |
file-size-in-bytes | Returns file size in bytes. |
file-stat-mtime | Returns last modify time of file. |
file-stat-atime | Returns last access time of file. |
file-stat-ctime | Returns last change time (or creation time on Windows) of file. |
directory-list | Read directory and returns result as list of string. |
file->list | Convenience procedures to read from a file filename. |
file->string | Convenience procedures to read from a file filename. |
write-to-file | Write string to file |