API Documentation
Docstrings for AutoSysimages.jl interface members can be accessed through Julia's built-in documentation system or in the list below.
Contents
Index
AutoSysimages.active_dirAutoSysimages.addAutoSysimages.build_sysimageAutoSysimages.installAutoSysimages.julia_argsAutoSysimages.latest_sysimageAutoSysimages.packages_to_includeAutoSysimages.preferences_pathAutoSysimages.removeAutoSysimages.remove_old_sysimagesAutoSysimages.select_packagesAutoSysimages.startAutoSysimages.status
Functions
AutoSysimages.start — Functionstart()Starts AutoSysimages package. It's usually called by start.jl file; but it can be called manually as well.
AutoSysimages.latest_sysimage — Functionlatest_sysimage()Return the path to the latest system image produced by AutoSysimages, or nothing if no such image exits.
AutoSysimages.julia_args — Functionjulia_args()Get Julia arguments for running AutoSysimages:
"-J [sysimage]"- sets thelatest_sysimage(), if it exits,"-L [@__DIR__]/start.jl"- starts AutoSysimages automatically.
AutoSysimages.build_sysimage — Functionbuild_sysimage(background::Bool = false)Build new system image (in background) for the current project including snooped precompiles.
AutoSysimages.remove_old_sysimages — Functionremove_old_sysimages()Remove old sysimages for the current project (active_dir()).
AutoSysimages.packages_to_include — Functionpackages_to_include()::Set{String}Get list of packages to be included into sysimage. It is determined based on "include" or "exclude" options save by Preferences.jl in LocalPreferences.toml file next to the currently-active project. Notice dev packages are excluded unless they are in include list.
AutoSysimages.select_packages — Functionselect_packages()Ask the user to choose which packages to include into the sysimage.
AutoSysimages.status — Functionstatus()Print list of packages to be included into sysimage determined by packages_to_include.
AutoSysimages.add — Functionadd(package::String)Set package to be included into the system image.
AutoSysimages.remove — Functionremove(package::String)Set package to be excluded into the system image.
AutoSysimages.active_dir — Functionactive_dir()Get directory where the sysimage and precompiles are stored for the current project. The directory is created if it doesn't exist yet.
AutoSysimages.preferences_path — Functionpreferences_path()Get the file with preferences for the active project (active_dir()). Preferences are stored in SysimagePreferences.toml next to the current Project.toml file.
AutoSysimages.install — Functioninstall()This install the asysimg scripts. (Currently implemented only for Linux.)