atomsAutoloadDel
Remove one or several modules from the autoload system
Syntax
nbDel = atomsAutoloadDel(modules) nbDel = atomsAutoloadDel(modules, section)
Arguments
- modules
m x 1, m x 2 or m x 3 matrix of strings
1st Col. (Mandatory) 2nd Col. (Optional) 3rd Col. (Optional) Technical Name Version: If this field is empty or is not present, the most recent version is used. Installed section: If this field is empty or is not present, and modules
is installed in both "user" and "allusers" sections, the section of autoload list is used.- section
This argument controls the list of sections where search modules(s) to remove from autoload system.
section
is a single-string and its value should be :"all"
: module(s) to remove from autotoload list are searched in both "user" and "allusers" sections."allusers"
: module(s) to remove from autotoload system are only searched in the "allusers" autoload list."user"
: module(s) to remove from autotoload system are only searched in the "user" autoload list.
If SCI is write accessible, "all" is the default value. Otherwise, the default value is "user".
- nbDel
An integer : the number of modules successfully removed from the autoload system.
Description
atomsAutoloadDel
removes one or several modules from the
autoload system.
Examples
// Load the test repository exec("SCI/modules/atoms/tests/unit_tests/atomsTestUtils.sce", -1); repository = atomsCreateTestRepository("scene10"); atomsInstall("toolbox_5V6","user"); atomsAutoloadList() atomsAutoloadDel("toolbox_5V6"); atomsAutoloadList() atomsAutoloadAdd(["toolbox_5V6" "1.0" "user"],"user"); atomsAutoloadList() atomsAutoloadDel(["toolbox_5V6" "1.0"]); atomsAutoloadList() atomsAutoloadAdd(["toolbox_5V6" "1.0" "user"],"user"); atomsAutoloadList() atomsAutoloadDel(["toolbox_5V6" "1.0" "user"]); atomsAutoloadList() atomsAutoloadAdd(["toolbox_5V6" "1.0" "user"],"user"); atomsAutoloadList() atomsAutoloadDel(["toolbox_5V6" "1.0" "user"],"user"); atomsAutoloadList() // Cleaning atomsRemove("toolbox_5V6","user"); atomsRepositoryDel(repository); atomsSystemUpdate();
See also
- atomsAutoloadAdd — Add one or several modules to autoload
- atomsAutoloadList — Get the list of modules registered to autoload
Report an issue | ||
<< atomsAutoloadAdd | ATOMS | atomsAutoloadList >> |