Merges two pathnames.
common-lisp
merge-pathnames pathname &optional default-pathname default-version => merged-pathname
pathname⇩ |
A pathname designator. |
default-pathname⇩ |
A pathname designator. |
default-version⇩ |
A valid pathname version. |
merged-pathname |
A pathname. |
The function merge-pathnames
and its use of pathname, default-pathname and default-version are as specified in ANSI Common Lisp with some extensions.
On Windows, when pathname is an UNC pathname, or the host component of pathname is nil
and default-pathname is an UNC pathname, then merge-pathnames
returns an UNC pathname. See 27.18.5 Windows UNC pathnames (Windows only) for a discussion of UNC pathnames on Windows.
merge-pathnames in the Common Lisp HyperSpec
27.18.5 Windows UNC pathnames (Windows only)
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:30