Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1013516 // ai_forgetHttpRequestsForPath

JavaX fragment (include)

static int ai_forgetHttpRequestsForPath(S path) {
  new L<TripleWeb> toInvalidate;
  for (S s : ai_texts("$X", "was for path", path))
    if (isCIPrefixPlusGlobalID(s, "HTTP request "))
      toInvalidate.addAll(triplesWithA(s));
  ai_removeTriplesInMemory(toInvalidate);
  ret l(toInvalidate);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1013516
Snippet name: ai_forgetHttpRequestsForPath
Eternal ID of this version: #1013516/4
Text MD5: 55166803fdd95df016ced9513d616a57
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-08 02:13:19
Source code size: 303 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 390 / 424
Version history: 3 change(s)
Referenced in: [show references]