Next: Processes, Previous: Hooks, Up: The language [Contents][Index]
Librep allows you to manipulate files in the operating system’s filing system; a special type of Lisp object, a file object, is used to represent files which have been opened for reading or writing (through the streams mechanism, see Streams).
Names of files are represented by strings, the syntax of file names is defined by the underlying operating system: Librep simply treats it as a string.
Many functions described in this chapter signal an error on failure, though it’s not stated explicitly.
Unless otherwise stated, all functions and variables described in the
following sections are exported by the rep.io.files
module.
• File Names: | Files are named by a string | |
• File Objects: | Lisp objects representing files | |
• File Information: | Predicates on files | |
• Manipulating Files: | Deleting, renaming and copying files | |
• Manipulating Directories: | Accessing directories | |
• Manipulating Symlinks: | Handling symbolic links | |
• File Handlers: | Extending the file name-space | |
• Remote Files: | Accessing remote files |