On 11/4/11 Nov 4 -6:12 PM, Faré wrote:
: Xach
: Faré
Is this functionality likely to be available via exported symbols in the future?
Tell me what API you want, I'll give you one. There was already an (unexported) API of sorts for read-only operations:
user-output-translations-pathname () system-output-translations-pathname () user-output-translations-directory-pathname () system-output-translations-directory-pathname ()
These functions looked for the first configuration file or directory in the list that actually existed.
What about having these functions take a keyword argument :direction which when it is :output, returns the first thing in the list that you may create? Or something like that.
I suppose you'd want these functions exported, too.
OK, I implemented this API in 2.018.7. If it suits you, I'll update the documentation. Otherwise, please tell me what you would like it to look like.
Is this compatible with an ASDF user who is using the old-school ASDF:*CENTRAL-REGISTRY* way of configuring ASDF instead of the new DSL?
If not, is there some way for someone using this API to infer whether the current use is along the lines of ASDF:*CENTRAL-REGISTRY* or the DSL?
r