@poe-platform/safe-fs 0.1.821 → 0.1.822
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -259,6 +259,11 @@ export interface FileStagingCleanup {
|
|
|
259
259
|
remove(options?: FsOptions): Promise<void>;
|
|
260
260
|
close(): Promise<void>;
|
|
261
261
|
}
|
|
262
|
+
/** A staging receipt is an immutable snapshot, not an object-identity token.
|
|
263
|
+
* Callers may copy it to refresh file.stat after a conditional write or writer
|
|
264
|
+
* finish. Authenticate ownership independently of the outer object; unchanged
|
|
265
|
+
* parent/directory entries can carry provider-owned identity. Always validate
|
|
266
|
+
* the supplied file revision atomically at publication and cleanup. */
|
|
262
267
|
export interface FileStaging {
|
|
263
268
|
readonly parent: FileStagingEntry;
|
|
264
269
|
readonly directory: FileStagingEntry;
|