Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commitdd348ac6c3

README.md

zeromind.uninstall

Remove an install from this world, and the dependencies only it used.

An install is one entry of the world, the asset at its root, and the dependencies it placed under /zero/source/deps/ come and go with it. This tool takes the install out together with every dependency the install placed or used that nothing else in the world uses. A dependency something else uses (another install, the world's own content) stays, and kept names what uses it; once nothing does, zeromind.removeUnusedDeps removes it.

A file of the install or of one of its dependencies that this world changed or wrote itself is not part of the install any more: it stays where it stands as a file of the world, and kept_modified lists it.

{ path = ..., dryRun = true } lists what would be removed and kept without changing anything. Nothing is committed: the install leaving is the change the next commit carries. zeromind.installs lists the installs. Library content (/zero/source/libs, @builtin) is never touched; zeromind.uninstallLib removes a library.