MCPcopy Index your code
hub / github.com/pyload/pyload / _create_pyFile

Method _create_pyFile

module/plugins/hooks/SkipRev.py:27–38  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

25 return pyfile.pluginclass.get_info(pyfile.url)['name']
26
27 def _create_pyFile(self, data):
28 pylink = self.pyload.api._convertPyFile(data)
29 return PyFile(self.pyload.files,
30 pylink.fid,
31 pylink.url,
32 pylink.name,
33 pylink.size,
34 pylink.status,
35 pylink.error,
36 pylink.plugin,
37 pylink.packageID,
38 pylink.order)
39
40 def download_preparing(self, pyfile):
41 name = self._name(pyfile)

Callers 1

download_failedMethod · 0.95

Calls 2

PyFileClass · 0.90
_convertPyFileMethod · 0.80

Tested by

no test coverage detected