PacletDirectoryUnload
makes paclets in dir no longer visible in the current session.
PacletDirectoryUnload[{dir1,dir2, …}]
makes paclets in all the diri no longer visible in the current session.
Details
- The directories can be specified as strings or File expressions.
- PacletDirectoryUnload returns the remaining list of directories that have been added in the session.
- The directories being removed must have previously been added with PacletDirectoryLoad.
- PacletDirectoryUnload effectively undoes the operation of PacletDirectoryLoad.
- PacletDirectoryUnload is intended primarily for use by paclet developers, to control the visibility of paclet development directories.
- The effects of PacletDirectoryUnload only apply in the current session.
Examples
Basic Examples (1)
The ExampleData/SamplePaclet directory contains a sample paclet:
Make it available in the current session:
PacletFind can find it:
Now make it invisible in the current session:
Its code can no longer be found:
Text
Wolfram Research (2020), PacletDirectoryUnload, Wolfram Language function, https://reference.wolfram.com/language/ref/PacletDirectoryUnload.html.
CMS
Wolfram Language. 2020. "PacletDirectoryUnload." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/PacletDirectoryUnload.html.
APA
Wolfram Language. (2020). PacletDirectoryUnload. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PacletDirectoryUnload.html