pub async fn from_file(
manifest_path: impl AsRef<Path>,
files_mount_strategy: FilesMountStrategy,
cache_root: Option<PathBuf>,
) -> Result<LockedApp>
Expand description
Load a Spin locked app from a spin.toml manifest file. If files_mount_root
is given, files
mounts will be copied to that directory. If not, files
mounts will validated as “direct mounts”.