MCPcopy Index your code
hub / github.com/nodejs/node / open

Function open

deps/npm/test/lib/utils/open-url.js:10–16  ·  view source on GitHub ↗
(url, options)

Source from the content-addressed store, hash-verified

8 let openerOpts = null
9
10 const open = async (url, options) => {
11 openerUrl = url
12 openerOpts = options
13 if (openerResult) {
14 throw openerResult
15 }
16 }
17
18 const mock = await mockNpm(t, { config })
19

Callers 15

mainFunction · 0.50
parseFunction · 0.50
open_to_writeFunction · 0.50
mainFunction · 0.50
load_schemaFunction · 0.50
mainFunction · 0.50
read_configFunction · 0.50
read_protocol_fileMethod · 0.50
mainFunction · 0.50
http_getMethod · 0.50
advanceMethod · 0.50
get_recentMethod · 0.50

Calls

no outgoing calls

Tested by 15

RunTestMethod · 0.40
BuildTestsFunction · 0.40
rotateshardFunction · 0.40
WriteFakeVersionFileMethod · 0.40
test_happy_pathMethod · 0.40
generate_fileMethod · 0.40
testCachesFilesMethod · 0.40
_WriteTestInputMethod · 0.40
_LoadResultsMethod · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…