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

Method uncacheIssue

modules/core/ValidationSystem.js:868–885  ·  view source on GitHub ↗
(issue)

Source from the content-addressed store, hash-verified

866
867
868 uncacheIssue(issue) {
869 const box = this.recheckBoxes.get(issue.id);
870 if (box) {
871 this.recheckRBush.remove(box);
872 this.recheckBoxes.delete(issue.id);
873 }
874
875 for (const entityID of issue.entityIds ?? []) {
876 let issueIDs = this.entityIssueIDs.get(entityID);
877 if (issueIDs) {
878 issueIDs.delete(issue.id);
879 if (!issueIDs.size) {
880 this.entityIssueIDs.delete(entityID);
881 }
882 }
883 }
884 this.issues.delete(issue.id);
885 }
886
887
888 cacheIssues(issues = []) {

Callers 3

cacheIssueMethod · 0.95
uncacheIssuesMethod · 0.95
uncacheEntityIDMethod · 0.95

Calls 2

getMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected