eeeeh
This commit is contained in:
parent
5776a37dc9
commit
0d9aebf900
1 changed files with 0 additions and 6 deletions
|
|
@ -483,12 +483,6 @@ export class Syncer {
|
|||
);
|
||||
return;
|
||||
}
|
||||
|
||||
// Read `record.path` (not a captured local) on every access. The
|
||||
// queue mutates `record.path` in place when a user rename arrives
|
||||
// mid-roundtrip, so re-reading from the live record keeps the
|
||||
// path current; capturing into a local variable would freeze it
|
||||
// at function entry and then write/read against a vacated slot.
|
||||
const contentBytes = await this.operations.read(record.path);
|
||||
const contentHash = await hash(contentBytes);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue