MCPcopy Index your code
hub / github.com/hunvreus/devpush / get_branch_hostname

Method get_branch_hostname

app/models.py:591–594  ·  view source on GitHub ↗

Get branch hostname

(self, branch: str)

Source from the content-addressed store, hash-verified

589 )
590
591 def get_branch_hostname(self, branch: str) -> str:
592 """Get branch hostname"""
593 settings = get_settings()
594 return f"{self.slug}-branch-{branch}.{settings.deploy_domain}"
595
596 def get_branch_url(self, branch: str) -> str:
597 """Get branch URL"""

Callers 1

get_branch_urlMethod · 0.95

Calls 1

get_settingsFunction · 0.90

Tested by

no test coverage detected