MCPcopy Create free account
hub / github.com/pyload/pyload / _get_cache_filename

Method _get_cache_filename

module/lib/jinja2/bccache.py:193–194  ·  view source on GitHub ↗
(self, bucket)

Source from the content-addressed store, hash-verified

191 self.pattern = pattern
192
193 def _get_cache_filename(self, bucket):
194 return path.join(self.directory, self.pattern % bucket.key)
195
196 def load_bytecode(self, bucket):
197 f = open_if_exists(self._get_cache_filename(bucket), 'rb')

Callers 2

load_bytecodeMethod · 0.95
dump_bytecodeMethod · 0.95

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected