Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/vastsa/FileCodeBox
/ normalize_share_code
Function
normalize_share_code
apps/base/views.py:136–137 ·
view source on GitHub ↗
(code: str)
Source
from the content-addressed store, hash-verified
134
135
136
def
normalize_share_code(code: str) -> str:
137
return
str(code or
""
).strip()
138
139
140
@share_api.post(
"/text/"
, dependencies=[Depends(share_required_login)])
Callers
3
test_normalize_share_code_strips_surrounding_whitespace
Method · 0.90
get_code_file_by_code
Function · 0.85
download_file
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_normalize_share_code_strips_surrounding_whitespace
Method · 0.72