MCPcopy Create free account
hub / github.com/Breakthrough/PySceneDetect / add_backquotes

Function add_backquotes

docs/generate_cli_docs.py:109–110  ·  view source on GitHub ↗
(match: re.Match)

Source from the content-addressed store, hash-verified

107
108
109def add_backquotes(match: re.Match) -> str:
110 return f"``{match.string[match.start() : match.end()]}``"
111
112
113def add_backquotes_with_refs(refs: set[str]) -> ty.Callable[[str], str]:

Callers 1

_add_backquotesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected