MCPcopy Create free account
hub / github.com/devflowinc/trieve / trim

Method trim

pdf2md/server/static/viewer.mjs:2849–2851  ·  view source on GitHub ↗
(text, re)

Source from the content-addressed store, hash-verified

2847 return false;
2848 }
2849 function trim(text, re) {
2850 return text.replace(re, "");
2851 }
2852 function makeIndent(blank) {
2853 let value = blank.replace(RE_BLANK_LINES, "\n");
2854 let length = RE_INDENT.exec(blank)[1].length;

Callers 15

overlayAttributesFunction · 0.80
GroupPageFunction · 0.80
BookmarkPopoverFunction · 0.80
saveTitleFunction · 0.80
NavbarFunction · 0.80
SidebarFunction · 0.80
TlFunction · 0.80
dtFunction · 0.80
OeFunction · 0.80
WeFunction · 0.80
AiFunction · 0.80
LlFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected