diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-12-15 15:53:26 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-12-15 15:55:48 -0700 |
commit | d77cf7bcd227aaad483546bdf87ae9729b873fe2 (patch) | |
tree | e3c63d1b683394e810642b0f16d423db250605dd /src/data | |
parent | 8be8d72a06c15cea200c36186f15bc4b4ff8540a (diff) | |
download | consfigurator-d77cf7bcd227aaad483546bdf87ae9729b873fe2.tar.gz |
DATA.FILES-TREE docstring: state that IDEN1 can be a nested subdir
The existing text does not imply that IDEN1 has to be right under LOCATION,
but let's make it explicit.
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/data')
-rw-r--r-- | src/data/files-tree.lisp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/data/files-tree.lisp b/src/data/files-tree.lisp index 0845e45..993d9aa 100644 --- a/src/data/files-tree.lisp +++ b/src/data/files-tree.lisp @@ -26,11 +26,11 @@ LOCATION is either a designator for a pathname representing the root of the tree of files or a symbol which designates an ASDF package where the tree is contained in the subdirectory 'data/'. -IDEN1 specifies a subdirectory under LOCATION and IDEN2 a relative path within -that subdirectory. For convenience IDEN1 and IDEN2 may be passed as absolute -and will be converted to relative paths. The usual cases of IDEN1 as a -hostname, IDEN1 as an underscore-prefixed identifier, and IDEN2 an an absolute -or relative path are all supported." +IDEN1 specifies a (possibly nested) subdirectory under LOCATION and IDEN2 a +relative path within that subdirectory. For convenience IDEN1 and IDEN2 may +be passed as absolute and will be converted to relative paths. The usual +cases of IDEN1 as a hostname, IDEN1 as an underscore-prefixed identifier, and +IDEN2 an an absolute or relative path are all supported." (let ((base-path (if (symbolp location) (asdf:system-relative-pathname location "data/") (ensure-directory-pathname location)))) |