Clarify docs for `collection-path' to discourage its use.
This commit is contained in:
parent
54e3380375
commit
1cd823a59a
|
@ -283,11 +283,14 @@ and the collection is not found, then the
|
||||||
[#:fail fail-proc (string? . -> . any)])
|
[#:fail fail-proc (string? . -> . any)])
|
||||||
any])]{
|
any])]{
|
||||||
|
|
||||||
|
This function is @bold{legacy}. Its use should be avoided.
|
||||||
|
The @racket[collection-file-path] function should be used instead.
|
||||||
|
|
||||||
Like @racket[collection-file-path], but without a specified file name,
|
Like @racket[collection-file-path], but without a specified file name,
|
||||||
so that the first directory indicated by @racket[collection]s is
|
so that the first directory indicated by @racket[collection]s is
|
||||||
returned. The @racket[collection-file-path] function normally should
|
returned. If multiple packages provide @racket[collection], the path
|
||||||
be used, instead, to support splicing of library-collection trees at
|
corresponding to the first package (in collection resolution order) is
|
||||||
the file level.}
|
returned.}
|
||||||
|
|
||||||
|
|
||||||
@defparam*[current-library-collection-paths paths
|
@defparam*[current-library-collection-paths paths
|
||||||
|
|
Loading…
Reference in New Issue
Block a user