MCPcopy Create free account
hub / github.com/StarsTom/mobileCodexHelper / normalize_dns_name

Function normalize_dns_name

mobile_codex_control.py:344–347  ·  view source on GitHub ↗
(value: str | None)

Source from the content-addressed store, hash-verified

342
343
344def normalize_dns_name(value: str | None) -> str | None:
345 if not value:
346 return None
347 return value[:-1] if value.endswith(".") else value
348
349
350def parse_nginx_timestamp(value: str) -> str | None:

Callers 4

build_remote_statusFunction · 0.85
pick_mobile_display_nameFunction · 0.85
extract_mobile_peersFunction · 0.85
collect_statusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected