Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ encode_filename
Function
encode_filename
tools/inspector_protocol/jinja2/_compat.py:79–82 ·
view source on GitHub ↗
(filename)
Source
from the content-addressed store, hash-verified
77
return
cls
78
79
def
encode_filename(filename):
80
if
isinstance(filename, unicode):
81
return
filename.encode(
'utf-8'
)
82
return
filename
83
84
85
def
with_metaclass(meta, *bases):
Callers
3
_parse
Method · 0.90
compile
Method · 0.90
compile_templates
Method · 0.90
Calls
1
encode
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…