Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mifi/editly
/ isUrl
Function
isUrl
util.js:161–161 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
159
}
160
161
export
const
isUrl = (path) => /^https?:\/\
//.test(path);
162
163
export
const
assertFileValid =
async
(path, allowRemoteRequests) => {
164
if
(isUrl(path)) {
Callers
2
loadImage
Function · 0.90
assertFileValid
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected