MCPcopy 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
34def escape_path(word: str) -> str:
35 return word.replace("$ ", "$$ ").replace(" ", "$ ").replace(":", "$:")
36
37
38class Writer(object):

Callers 1

buildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected