Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Tencent/CodeAnalysis
/ __encode
Function
__encode
server/projects/main/util/cdcrypto.py:24–27 ·
view source on GitHub ↗
(content)
Source
from the content-addressed store, hash-verified
22
23
24
def
__encode(content):
25
if
type(content) == str:
26
content = content.encode(
"utf-8"
)
27
return
content
28
29
30
def
__decode(content):
Callers
2
encrypt
Function · 0.70
decrypt
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected