switchVersion(
args
: {lix
:Lix
;to
:Pick
<Version
,"id"
>; }):Promise
<void
>
Switches the current Version to the given Version.
The Version must already exist before calling this function.
Switching to a newly created version.
Parameter | Type |
---|---|
args | { lix : Lix ; to : Pick <Version , "id" >; } |
args.lix | Lix |
args.to | Pick <Version , "id" > |
Promise
<void
>