MCPcopy Index your code
hub / github.com/labring/FastGPT / stripFragment

Function stripFragment

document/script/checkDocRefs.js:77–79  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

75}
76
77function stripFragment(url) {
78 return url.split('#')[0].split('?')[0];
79}
80
81function isSkippedAttachment(target) {
82 return /^\/deploy\/.+\.ya?ml$/i.test(target);

Callers 1

isValidRefFunction · 0.85

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected