MCPcopy Create free account
hub / github.com/nodejs/node / list_templates

Method list_templates

tools/inspector_protocol/jinja2/loaders.py:368–373  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

366 raise TemplateNotFound(name)
367
368 def list_templates(self):
369 result = []
370 for prefix, loader in iteritems(self.mapping):
371 for template in loader.list_templates():
372 result.append(prefix + self.delimiter + template)
373 return result
374
375
376class ChoiceLoader(BaseLoader):

Callers

nothing calls this directly

Calls 2

list_templatesMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected