Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HKUDS/OpenSpace
/ _strip_trailing_ws
Function
_strip_trailing_ws
openspace/skill_engine/patch.py:976–977 ·
view source on GitHub ↗
(text: str)
Source
from the content-addressed store, hash-verified
974
return
files
975
976
def
_strip_trailing_ws(text: str) -> str:
977
return
"\n"
.join(line.rstrip()
for
line in text.splitlines())
978
979
def
_find_similar_lines(
980
search_line: str,
Callers
1
apply_search_replace
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected