class Zap::Installer::Isolated
Defined in:
installer/isolated/isolated.crConstructors
Instance Method Summary
- #install : Nil
- #on_install(dependency : Package, install_folder : Path, *, state : Commands::Install::State)
-
#prune_orphan_modules
Prune unused dependencies from the filesystem
Instance methods inherited from class Zap::Installer::Base
install : Nil
install,
installed_packages_with_hooks : Array({Zap::Package, Path})
installed_packages_with_hooks,
main_package : Package
main_package,
prune_orphan_modules
prune_orphan_modules,
remove(dependencies : Set(Tuple(String, String | Package::Alias, String))) : Nil
remove,
state : Commands::Install::State
state
Constructor methods inherited from class Zap::Installer::Base
new(state : Commands::Install::State)
new
Instance methods inherited from class Object
or(other : T) : T | self forall T
or,
pipe(&)
pipe
Constructor Detail
def self.new(state, *, hoist_patterns = state.main_package.zap_config.try(&.hoist_patterns) || DEFAULT_HOIST_PATTERNS, public_hoist_patterns = state.main_package.zap_config.try(&.public_hoist_patterns) || DEFAULT_PUBLIC_HOIST_PATTERNS)
#
Instance Method Detail
def prune_orphan_modules
#
Description copied from class Zap::Installer::Base
Prune unused dependencies from the filesystem