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

Method get_source

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

Source from the content-addressed store, hash-verified

347 return loader, name
348
349 def get_source(self, environment, template):
350 loader, name = self.get_loader(template)
351 try:
352 return loader.get_source(environment, name)
353 except TemplateNotFound:
354 # re-raise the exception with the correct filename here.
355 # (the one that includes the prefix)
356 raise TemplateNotFound(template)
357
358 @internalcode
359 def load(self, environment, name, globals=None):

Callers

nothing calls this directly

Calls 3

get_loaderMethod · 0.95
TemplateNotFoundClass · 0.90
get_sourceMethod · 0.45

Tested by

no test coverage detected