Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Acode-Foundation/Acode
/ isValidSource
Function
isValidSource
src/pages/plugin/plugin.js:589–591 ·
view source on GitHub ↗
(source)
Source
from the content-addressed store, hash-verified
587
}
588
589
function
isValidSource(source) {
590
return
source ? source.startsWith(Url.join(config.API_BASE,
"plugin"
)) : true;
591
}
592
593
function
isPluginEditorSupported(supportedEditor) {
594
return
(
Callers
1
PluginInclude
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected