MCPcopy Create free account
hub / github.com/block/buzz / getCloneUrls

Function getCloneUrls

desktop/src/features/projects/hooks.ts:123–126  ·  view source on GitHub ↗
(event: RelayEvent)

Source from the content-addressed store, hash-verified

121}
122
123function getCloneUrls(event: RelayEvent): string[] {
124 const tag = event.tags.find((t) => t[0] === "clone");
125 return tag ? tag.slice(1) : [];
126}
127
128function projectCoordinate(project: Pick<Project, "owner" | "dtag">): string {
129 return `${KIND_REPO_ANNOUNCEMENT}:${project.owner}:${project.dtag}`;

Callers 1

eventToProjectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected