Next: , Previous: , Up: The language   [Contents][Index]


5.26 Files

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.