PacletTools`
PacletTools`

PacletExtensionDirectory

PacletExtensionDirectory[paclet]

returns an Association relating each extension of paclet to a directory.

PacletExtensionDirectory[paclet,type]

returns an Association relating each extension of paclet that matches type to a directory.

Details and Options

  • paclet must be a file path to a paclet directory in the local file system, or a PacletObject.
  • "SystemID"$SystemIDSystem ID compatibility used to filter extensions
    LanguageAllLanguage used to filter extensions
  • The "SystemID" and Language options are used to filter the extensions declared by the paclet before they are returned from PacletExtensionDirectory.
  • The "SystemID" option expects values that are valid $SystemID values.
  • If PacletExtensionDirectory encounters an unknown extension type, and a directory with the same name as the extension exists, that directory will be returned. If no such directory exists, Missing["NotAvailable"] will be returned.

Examples

Basic Examples  (3)

Begin by ensuring PacletTools` is loaded:

List the directory associated with each extension of a paclet:

Get the directory associated with the first "Kernel" extension of a paclet:

Wolfram Research (2021), PacletExtensionDirectory, Wolfram Language function, https://reference.wolfram.com/language/PacletTools/ref/PacletExtensionDirectory.html.

Text

Wolfram Research (2021), PacletExtensionDirectory, Wolfram Language function, https://reference.wolfram.com/language/PacletTools/ref/PacletExtensionDirectory.html.

CMS

Wolfram Language. 2021. "PacletExtensionDirectory." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/PacletTools/ref/PacletExtensionDirectory.html.

APA

Wolfram Language. (2021). PacletExtensionDirectory. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/PacletTools/ref/PacletExtensionDirectory.html

BibTeX

@misc{reference.wolfram_2024_pacletextensiondirectory, author="Wolfram Research", title="{PacletExtensionDirectory}", year="2021", howpublished="\url{https://reference.wolfram.com/language/PacletTools/ref/PacletExtensionDirectory.html}", note=[Accessed: 18-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_pacletextensiondirectory, organization={Wolfram Research}, title={PacletExtensionDirectory}, year={2021}, url={https://reference.wolfram.com/language/PacletTools/ref/PacletExtensionDirectory.html}, note=[Accessed: 18-December-2024 ]}