MCPcopy
hub / github.com/agalwood/Motrix / addMetalink

Method addMetalink

src/renderer/api/Api.js:197–205  ·  view source on GitHub ↗
(params)

Source from the content-addressed store, hash-verified

195 }
196
197 addMetalink (params) {
198 const {
199 metalink,
200 options
201 } = params
202 const engineOptions = formatOptionsForEngine(options)
203 const args = compactUndefined([metalink, engineOptions])
204 return this.client.call('addMetalink', ...args)
205 }
206
207 fetchDownloadingTaskList (params = {}) {
208 const { offset = 0, num = 20, keys } = params

Callers 1

addMetalinkFunction · 0.80

Calls 3

formatOptionsForEngineFunction · 0.90
compactUndefinedFunction · 0.90
callMethod · 0.45

Tested by

no test coverage detected