Skip to main content

Module apps

Module apps 

Source

Structs§

AppCategory
AppFile
AppGenerator
AppHook
AppUpgradeReport

Enums§

AppDestinationRoot
AppListMode

Functions§

desired_content_hash
handle_build
Runs the [artifact].script declared by an app preset (shine app artifact apply <app-id>).
handle_info
handle_init_template
handle_install
handle_list
handle_refresh
handle_unbuild
Runs the [artifact].teardown script (shine app artifact remove <app-id>), the symmetric reverse of build. Like build and unlike the implicit teardown during uninstall, this is an explicit user action: it is not gated by allow_app_hooks and a nonzero exit propagates as a real error.
handle_uninstall
handle_upgrade_installed
installed_content_hash
load_active_categories
Loads categories from whichever source is active: installed (external presets mode) or embedded. Replaces the if config.is_external_presets { load_installed_categories } else { load_embedded_categories } branch repeated at every call site.
load_embedded_categories
load_installed_categories
materialize_file_content
Hash the effective install content for file — applies transforms if declared.
resolve_install_destination
source_bytes_for_file
source_hash_for_file