Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/masterking32/MasterHttpRelayVPN
/ _c
Function
_c
setup.py:26–29 ·
view source on GitHub ↗
(code: str, text: str)
Source
from the content-addressed store, hash-verified
24
25
26
def
_c(code: str, text: str) -> str:
27
if
os.environ.get(
"NO_COLOR"
) or not sys.stdout.isatty():
28
return
text
29
return
f
"\033[{code}m{text}\033[0m"
30
31
32
def
bold(t: str) -> str:
return
_c(
"1"
, t)
Callers
6
bold
Function · 0.85
cyan
Function · 0.85
green
Function · 0.85
yellow
Function · 0.85
red
Function · 0.85
dim
Function · 0.85
Calls
1
get
Method · 0.80
Tested by
no test coverage detected