Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
81
function
isSkippedAttachment(target) {
82
return
/^\/deploy\/.+\.ya?ml$/i.test(target);
83
}
84
85
function
normalizeRoutePath(p) {
86
return
p.replace(/\/+$/,
''
).replace(/\.(en\.)?(mdx|md)$/i,
''
);
Callers
1
isValidRef
Function · 0.85
Calls
1
test
Method · 0.80
Tested by
no test coverage detected