Honor cancellation during comparison replacement
This commit is contained in:
@@ -18,8 +18,9 @@ symlinks and non-directories, accepts a missing or empty directory, and permits
|
||||
replacement only for a recognized current bundle. Publication rechecks that
|
||||
authorization immediately before it writes a private sibling staging directory.
|
||||
For replacement, it moves the prior bundle to a private sibling backup,
|
||||
reauthorizes that moved entry, and restores it if installing the new bundle
|
||||
fails.
|
||||
reauthorizes that moved entry, checks for cancellation, and restores it if
|
||||
cancellation or installing the new bundle prevents replacement. If guarded
|
||||
restoration fails, the error retains the prior bundle's recovery path.
|
||||
|
||||
Planning also validates the final component and the bounded fixed names used
|
||||
for private staging and backup siblings. A destination that cannot form those
|
||||
|
||||
Reference in New Issue
Block a user