Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/raspberrypi/documentation
/ escape_path
Function
escape_path
scripts/ninja_syntax.py:28–29 ·
view source on GitHub ↗
(word)
Source
from the content-addressed store, hash-verified
26
import
types
27
28
def
escape_path(word):
29
return
word.replace(
'$ '
,
'$$ '
).replace(
' '
,
'$ '
).replace(
':'
,
'$:'
)
30
31
class
Writer(object):
32
# specify a width of 0 to disable text-wrapping
Callers
1
build
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected