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

Method get_template_key

tools/inspector_protocol/jinja2/loaders.py:458–459  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

456
457 @staticmethod
458 def get_template_key(name):
459 return 'tmpl_' + sha1(name.encode('utf-8')).hexdigest()
460
461 @staticmethod
462 def get_module_filename(name):

Callers 2

loadMethod · 0.95
get_module_filenameMethod · 0.45

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected