Module Winvos.Pkg

Packages (.cab files)

type t

The type for Windows Validation OS 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 -> (t list, string) Stdlib.result

list pkg are the available packages for architecture arch. If names is non-empty only lists those an errors or not found packages.

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

find name pkgs finds the package named pkg.