This is the com.gigamonkeys.pathnames Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:06:20 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
com.gigamonkeys.pathnames
Library to smooth over some implementation differences in treatment of pathnames.
Peter Seibel <peter@gigamonkeys.com>
packages.lisp
(file).
pathnames.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
com.gigamonkeys.pathnames/com.gigamonkeys.pathnames.asd
com.gigamonkeys.pathnames/packages.lisp
com.gigamonkeys.pathnames/pathnames.lisp
com.gigamonkeys.pathnames/com.gigamonkeys.pathnames.asd
com.gigamonkeys.pathnames
(system).
com.gigamonkeys.pathnames/packages.lisp
com.gigamonkeys.pathnames
(system).
com.gigamonkeys.pathnames/pathnames.lisp
packages.lisp
(file).
com.gigamonkeys.pathnames
(system).
directory-p
(function).
directory-pathname-p
(function).
file-exists-p
(function).
file-p
(function).
file-pathname-p
(function).
list-directory
(function).
parent-directory
(function).
pathname-as-directory
(function).
pathname-as-file
(function).
walk-directory
(function).
directory-wildcard
(function).
Packages are listed by definition order.
com.gigamonkeys.pathnames
common-lisp
.
directory-p
(function).
directory-pathname-p
(function).
file-exists-p
(function).
file-p
(function).
file-pathname-p
(function).
list-directory
(function).
parent-directory
(function).
pathname-as-directory
(function).
pathname-as-file
(function).
walk-directory
(function).
directory-wildcard
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Is ‘name’ the name of an existing directory.
Is the given pathname the name of a directory? This function can usefully be used to test whether a name returned by LIST-DIRECTORIES or passed to the function in WALK-DIRECTORY is the name of a directory in the file system since they always return names in ‘directory normal form’.
Similar to CL:PROBE-FILE except it always returns directory names in ‘directory normal form’. Returns truename which will be in ‘directory form’ if file named is, in fact, a directory.
Is ‘name’ the name of an existing file, i.e. not a directory.
Return a list of the contents of the directory named by dirname. Names of subdirectories will be returned in ‘directory normal form’. Unlike CL:DIRECTORY, LIST-DIRECTORY does not accept wildcard pathnames; ‘dirname’ should simply be a pathname that names a directory. It can be in either file or directory form.
Return the pathname of the directory containing pathname.
Return a pathname reperesenting the given pathname in ‘directory normal form’, i.e. with all the name elements in the directory component and NIL in the name and type components. Can not be used on wild pathnames because there’s not portable way to convert wildcards in the name and type into a single directory component. Returns its argument if name and type are both nil or :unspecific.
Return a pathname reperesenting the given pathname in ‘file form’, i.e. with the name elements in the name and type component. Can’t convert wild pathnames because of problems mapping wild directory component into name and type components. Returns its argument if it is already in file form.
Walk a directory invoking ‘fn’ on each pathname found. If ‘test’ is supplied fn is invoked only on pathnames for which ‘test’ returns true. If ‘directories’ is t invokes ‘test’ and ‘fn’ on directory pathnames as well.
Jump to: | D F L P W |
---|
Jump to: | D F L P W |
---|
Jump to: | C F P S |
---|
Jump to: | C F P S |
---|