Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bfbbdecomp/bfbb
/ escape_path
Function
escape_path
tools/ninja_syntax.py:34–35 ·
view source on GitHub ↗
(word: str)
Source
from the content-addressed store, hash-verified
32
33
34
def
escape_path(word: str) -> str:
35
return
word.replace(
"$ "
,
"$$ "
).replace(
" "
,
"$ "
).replace(
":"
,
"$:"
)
36
37
38
class
Writer(object):
Callers
1
build
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected