Add method for removing the current stage
This commit is contained in:
parent
a79a330e2a
commit
32fd5aa572
1 changed files with 4 additions and 0 deletions
|
@ -58,6 +58,10 @@ class Context {
|
|||
return $this.Get($this.StagePropertyName);
|
||||
}
|
||||
|
||||
[void] RemoveStage() {
|
||||
$this.Remove($this.StagePropertyName);
|
||||
}
|
||||
|
||||
[string] ArchivePath($name) {
|
||||
return Join-Path $this.BackupRoot() "$name.7z";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue