MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / open

Method open

thirdparty/bottle/bottle.py:3121–3125  ·  view source on GitHub ↗

Find a resource and return a file object, or raise IOError.

(self, name, mode='r', *args, **kwargs)

Source from the content-addressed store, hash-verified

3119 return self.cache[name]
3120
3121 def open(self, name, mode='r', *args, **kwargs):
3122 """ Find a resource and return a file object, or raise IOError. """
3123 fname = self.lookup(name)
3124 if not fname: raise IOError("Resource %r not found." % name)
3125 return self.opener(fname, mode=mode, *args, **kwargs)
3126
3127
3128class FileUpload(object):

Callers 5

_linux_wav_playFunction · 0.80
dictionaryAttackFunction · 0.80
runGuiFunction · 0.80
adjustMethod · 0.80
_codecs_openFunction · 0.80

Calls 1

lookupMethod · 0.95

Tested by

no test coverage detected