Module unicorn.core

Index

Function

install()

Installs a package from a package table. This function is split up into "checks" and "actions". Checks ensure that the operation can be completed, and actions do things with values in the package table.

uninstall()

Removes a package from the system. It traverses package_table.instdat.filemaps and deletes everything.

Api reference

unicorn.core.install(package_table: table): boolean, table

Installs a package from a package table. This function is split up into “checks” and “actions”. Checks ensure that the operation can be completed, and actions do things with values in the package table.

Parameters:

package_table (table) – A valid package table

unicorn.core.uninstall(package_name: string): boolean

Removes a package from the system. It traverses package_table.instdat.filemaps and deletes everything.

Parameters:

package_name (string) – The name of a package.