Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/labring/FastGPT
/ isIndexFile
Function
isIndexFile
document/script/checkDocRefs.js:161–163 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
159
}
160
161
function
isIndexFile(name) {
162
return
/^index(\.en)?\.mdx?$/i.test(name);
163
}
164
165
function
slugFromFile(name) {
166
return
name.replace(/\.(en\.)?mdx?$/i,
''
);
Callers
1
collectExpectedSlugs
Function · 0.85
Calls
1
test
Method · 0.80
Tested by
no test coverage detected