MCPcopy Create free account
hub / github.com/labring/FastGPT / isSkippedAttachment

Function isSkippedAttachment

document/script/checkDocRefs.js:81–83  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

79}
80
81function isSkippedAttachment(target) {
82 return /^\/deploy\/.+\.ya?ml$/i.test(target);
83}
84
85function normalizeRoutePath(p) {
86 return p.replace(/\/+$/, '').replace(/\.(en\.)?(mdx|md)$/i, '');

Callers 1

isValidRefFunction · 0.85

Calls 1

testMethod · 0.80

Tested by

no test coverage detected