Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
load
Method · 0.95
get_module_filename
Method · 0.45
Calls
1
encode
Method · 0.80
Tested by
no test coverage detected