This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Vagrant.
Summary
This takes a snapshot and pushes it onto the snapshot stack.
- Assembly
- Cake
.Vagrant .dll - Namespace
- Cake
.Vagrant .Commands - Containing Type
- Vagrant
Snapshot Runner
Syntax
public void Push()
Remarks
This is a shorthand for Save(string)
where you do not need to specify a name.
Warning: If you are using Push()
and Cake.Vagrant.Commands.VagrantSnapshotRunner.Pop(System.Action{Cake.Vagrant.Settings.VagrantSnapshotRestoreSettings})
, avoid using Save(string)
and
Cake.Vagrant.Commands.VagrantSnapshotRunner.Restore(System.String,System.Action{Cake.Vagrant.Settings.VagrantSnapshotRestoreSettings})
which are unsafe to mix.
Return Value
Type | Description |
---|---|
void |