ExLisp. Pathname
(exlisp v0.1.2)
Copy Markdown
ANSI Common Lisp Pathnames implementation for ExLisp. Supports:
- make-pathname, pathname, pathnamep
- pathname-host, pathname-device, pathname-directory, pathname-name, pathname-type, pathname-version
- namestring, file-namestring, directory-namestring, host-namestring, enough-namestring
- parse-namestring, merge-pathnames
- truename, probe-file, file-author, file-write-date, directory, user-homedir-pathname
- wild-pathname-p, pathname-match-p
Summary
Functions
Returns the list of pathnames matching pathspec.
Returns only the directory part as a string (with trailing slash).
Returns enough namestring relative to defaults.
Returns the author / owner of the file.
Returns the file name and type part as a string (e.g. "foo.lisp").
Returns the file modification time in universal time format.
Returns the host namestring.
Constructs a Pathname from keyword arguments.
Merges pathname with default_pathname according to ANSI CL merge-pathnames rules.
Returns the full namestring representation of a pathname.
Parses a namestring into a Pathname struct.
Parses a namestring into a Pathname struct.
Returns multiple values: (values pathname end_index).
Coerces pathspec (string, symbol, stream, or pathname) into a Pathname struct.
Tests if pathname matches a wildcard pathname.
Returns :t if object is a pathname, nil otherwise.
Returns the truename if filespec exists, nil otherwise.
Returns the truename (expanded, canonical pathname) of an existing file. Signals an error if file does not exist.
Returns the pathname of the user's home directory.
Checks if pathname contains wild components.
Types
Functions
Returns the list of pathnames matching pathspec.
Returns only the directory part as a string (with trailing slash).
Returns enough namestring relative to defaults.
Returns the author / owner of the file.
Returns the file name and type part as a string (e.g. "foo.lisp").
Returns the file modification time in universal time format.
Returns the host namestring.
Constructs a Pathname from keyword arguments.
Merges pathname with default_pathname according to ANSI CL merge-pathnames rules.
Returns the full namestring representation of a pathname.
Parses a namestring into a Pathname struct.
Parses a namestring into a Pathname struct.
Returns multiple values: (values pathname end_index).
Coerces pathspec (string, symbol, stream, or pathname) into a Pathname struct.
Tests if pathname matches a wildcard pathname.
Returns :t if object is a pathname, nil otherwise.
Returns the truename if filespec exists, nil otherwise.
Returns the truename (expanded, canonical pathname) of an existing file. Signals an error if file does not exist.
Returns the pathname of the user's home directory.
Checks if pathname contains wild components.