Share sibling temporary file creation for downloads
This commit is contained in:
@@ -9,9 +9,9 @@ and destination-directory policy.
|
||||
Ordinary workspace replacement uses standard operating-system path semantics.
|
||||
Callers with a root-scoped safety contract own that validation at their boundary.
|
||||
|
||||
Remote object acquisition is owned by its domain caller. The caller writes a
|
||||
sibling temporary file, validates the complete result, and passes that file to
|
||||
`InstallSiblingTempFile` only when it is ready to become canonical. Callers own
|
||||
Remote object acquisition is owned by its domain caller. `WriteSiblingTemp` writes and closes a sibling temporary file, returning
|
||||
ownership to the caller. The caller validates the complete result and passes it
|
||||
to `InstallSiblingTempFile` only when it is ready to become canonical. Callers own
|
||||
remote object selection, validation, conflict handling, and temporary-file
|
||||
cleanup.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user