Remove one or several URLs from the list of managed repositories
nbDel = atomsRepositoryDel(url) nbDel = atomsRepositoryDel(url, section)
character string matrix: list of the URLs to remove
This argument controls the list of sections where search URL(s) to remove.
section is a single-string and its value should be :
"all": URL(s) to remove are searched in both
"user" and "allusers" sections.
"allusers": URL(s) to remove are only searched in
the "allusers" section.
"user": URL(s) to remove are only searched in
the "user" section.
If SCI is write accessible, "all" is the default value. Otherwise, the default value is "user".
An integer : the number of repositories successfully removed.
atomsRepositoryDel removes one or multiple URLs from the list of repositories and returns
the number of repositories successfully removed.
// Create the test repository exec("SCI/modules/atoms/tests/unit_tests/atomsTestUtils.sce", -1); repository = atomsCreateTestRepository("scene10", %F); atomsRepositoryList() atomsRepositoryAdd(repository) atomsRepositoryList() atomsRepositoryDel(repository) atomsRepositoryList() | ![]() | ![]() |