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

Method get_source

tools/inspector_protocol/jinja2/loaders.py:313–319  ·  view source on GitHub ↗
(self, environment, template)

Source from the content-addressed store, hash-verified

311 self.load_func = load_func
312
313 def get_source(self, environment, template):
314 rv = self.load_func(template)
315 if rv is None:
316 raise TemplateNotFound(template)
317 elif isinstance(rv, string_types):
318 return rv, None, None
319 return rv
320
321
322class PrefixLoader(BaseLoader):

Callers

nothing calls this directly

Calls 1

TemplateNotFoundClass · 0.90

Tested by

no test coverage detected