@rljson/fs-agent 0.0.62 → 0.0.63

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.
@@ -793,16 +793,6 @@ export declare class FsAgent {
793
793
  * @returns True when every declared parent is a state this node has left.
794
794
  */
795
795
  private _senderIsBehind;
796
- /**
797
- * Marks an incoming tree's files as known to the network.
798
- *
799
- * A union, not a replacement: {@link _rememberAnnounced} answers "what this
800
- * node has told the network", and this answers "what the network has told
801
- * this node". Both make a file prunable; neither alone is the whole set, and
802
- * treating the first as the whole set is what made deletions vanish.
803
- * @param tree - The tree just applied.
804
- */
805
- private _rememberReceived;
806
796
  private _rememberAnnounced;
807
797
  private _adoptAppliedRef;
808
798
  /**
package/dist/fs-agent.js CHANGED
@@ -2454,20 +2454,6 @@ ${err.stack}` : String(err);
2454
2454
  (ref) => ref !== this._currentRef && ref !== this._lastAppliedRef && this._stateHistory.includes(ref)
2455
2455
  );
2456
2456
  }
2457
- /**
2458
- * Marks an incoming tree's files as known to the network.
2459
- *
2460
- * A union, not a replacement: {@link _rememberAnnounced} answers "what this
2461
- * node has told the network", and this answers "what the network has told
2462
- * this node". Both make a file prunable; neither alone is the whole set, and
2463
- * treating the first as the whole set is what made deletions vanish.
2464
- * @param tree - The tree just applied.
2465
- */
2466
- _rememberReceived(tree) {
2467
- for (const path of this._getFileContentMap(tree).keys()) {
2468
- this._announcedFiles.add(join(this._rootPath, path));
2469
- }
2470
- }
2471
2457
  _rememberAnnounced(tree) {
2472
2458
  this._announcedFiles.clear();
2473
2459
  for (const path of this._getFileContentMap(tree).keys()) {
@@ -2677,7 +2663,6 @@ ${err.stack}` : String(err);
2677
2663
  this._adoptAppliedRef(connector, treeRef);
2678
2664
  this._currentRef = postRestoreRef;
2679
2665
  this._persistCurrentRef(postRestoreRef);
2680
- this._rememberReceived(incomingTree);
2681
2666
  const postRestoreFiles = this._getFileContentMap(postRestoreTree);
2682
2667
  const incomingFiles = this._getFileContentMap(incomingTree);
2683
2668
  let hasNewsOfOurOwn = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rljson/fs-agent",
3
- "version": "0.0.62",
3
+ "version": "0.0.63",
4
4
  "description": "Rljson fs-agent description",
5
5
  "homepage": "https://github.com/rljson/fs-agent",
6
6
  "bugs": "https://github.com/rljson/fs-agent/issues",