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

Method get_branch_url

app/models.py:596–599  ·  view source on GitHub ↗

Get branch URL

(self, branch: str)

Source from the content-addressed store, hash-verified

594 return f"{self.slug}-branch-{branch}.{settings.deploy_domain}"
595
596 def get_branch_url(self, branch: str) -> str:
597 """Get branch URL"""
598 settings = get_settings()
599 return f"{settings.url_scheme}://{self.get_branch_hostname(branch)}"
600
601
602@event.listens_for(Project, "after_insert")

Callers

nothing calls this directly

Calls 2

get_branch_hostnameMethod · 0.95
get_settingsFunction · 0.90

Tested by

no test coverage detected