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

Functions

AutoSysimages.startFunction
start()

Starts AutoSysimages package. It's usually called by start.jl file; but it can be called manually as well.

source
AutoSysimages.julia_argsFunction
julia_args()

Get Julia arguments for running AutoSysimages:

  • "-J [sysimage]" - sets the latest_sysimage(), if it exits,
  • "-L [@__DIR__]/start.jl" - starts AutoSysimages automatically.
source
AutoSysimages.build_sysimageFunction
build_sysimage(background::Bool = false)

Build new system image (in background) for the current project including snooped precompiles.

source
AutoSysimages.packages_to_includeFunction
packages_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.

source
AutoSysimages.statusFunction
status()

Print list of packages to be included into sysimage determined by packages_to_include.

source
AutoSysimages.active_dirFunction
active_dir()

Get directory where the sysimage and precompiles are stored for the current project. The directory is created if it doesn't exist yet.

source
AutoSysimages.preferences_pathFunction
preferences_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.

source