Module Winvos.Pkg

Packages (.cab files)

type t

The type for WinVOS cab packages

val name : t -> string

name pkg is the basename of the package.

val files : t -> B0_std.Fpath.t list

files pkg are the files of package pkg relative to the validation OS image root.

val list : data_dir:B0_std.Fpath.t -> arch:B0_std.Os.Arch.t -> names:string list -> add_matching_wow64:bool -> (t list, string) Stdlib.result

list pkg are the available packages for architecture arch. If names is non-empty only lists those and errors or not found packages. If add_matching_wow64 is true and names non-empty, matching WOW64 packages are added to the result.

val contents : data_dir:B0_std.Fpath.t -> arch:B0_std.Os.Arch.t -> names:string list -> add_matching_wow64:bool -> (unit, string) Stdlib.result
val find : string -> t list -> t option

find name pkgs finds the package named pkg.