MCPcopy Create free account
hub / github.com/facebook/Rapid / uncacheEntityID

Method uncacheEntityID

modules/core/ValidationSystem.js:910–921  ·  view source on GitHub ↗
(entityID)

Source from the content-addressed store, hash-verified

908
909 // Remove a single entity and all its related issues from the caches
910 uncacheEntityID(entityID) {
911 const issueIDs = this.entityIssueIDs.get(entityID) ?? [];
912 for (const issueID of issueIDs) {
913 const issue = this.issues.get(issueID);
914 if (issue) {
915 this.uncacheIssue(issue);
916 }
917 }
918
919 this.entityIssueIDs.delete(entityID);
920 this.provisionalEntityIDs.delete(entityID);
921 }
922
923
924 /**

Callers 1

Calls 2

uncacheIssueMethod · 0.95
getMethod · 0.80

Tested by

no test coverage detected