From 54d75297ea8b190a3b91bd662deb61e670e9f9ef Mon Sep 17 00:00:00 2001 From: David Bremner Date: Thu, 5 May 2022 08:29:20 -0300 Subject: add package CONSFIGURATOR.DATA.UTIL This package is intended to provide a home for utility functions used by multiple data sources. Initially move a local function from CONSFIGURATOR.DATA.FILES-TREE, and slightly generalize it to support an extension or TYPE argument. Note that the goal of LITERAL-DATA-PATHNAME is to map (IDEN1 IDEN2) to existing paths in a user-maintained file hierarchy. This is quite different from DATA-PATHNAME, which escapes various characters to map to a safe internal filename, effectively flattening a directory hierarchy into a single level. Signed-off-by: David Bremner --- consfigurator.asd | 2 ++ 1 file changed, 2 insertions(+) (limited to 'consfigurator.asd') diff --git a/consfigurator.asd b/consfigurator.asd index 4cfa06e..8048c90 100644 --- a/consfigurator.asd +++ b/consfigurator.asd @@ -88,6 +88,7 @@ (:file "src/connection/setuid") (:file "src/connection/as") (:file "src/connection/linux-namespace") + (:file "src/data/util") (:file "src/data/asdf") (:file "src/data/pgp") (:file "src/data/git-snapshot") @@ -108,6 +109,7 @@ (:feature :sbcl (:require #:sb-rt)) (:feature (:not :sbcl) #:rt)) :components ((:file "tests/package") + (:file "tests/data/util") (:file "tests/util") (:file "tests/property/file")) :perform (test-op (o c) (symbol-call :consfigurator/tests '#:do-tests))) -- cgit v1.2.3