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

Method get_template_key

deps/v8/third_party/jinja2/loaders.py:628–629  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

626
627 @staticmethod
628 def get_template_key(name: str) -> str:
629 return "tmpl_" + sha1(name.encode("utf-8")).hexdigest()
630
631 @staticmethod
632 def get_module_filename(name: str) -> str:

Callers 2

loadMethod · 0.95
get_module_filenameMethod · 0.45

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected