MCPcopy Create free account
hub / github.com/nikivdev/go / defaultReviewOrigin

Function defaultReviewOrigin

cli/spec/main.go:445–451  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

443}
444
445func defaultReviewOrigin() string {
446 origin := strings.TrimSpace(os.Getenv("UNHASH_API_ORIGIN"))
447 if origin == "" {
448 origin = "https://unhash.sh"
449 }
450 return strings.TrimRight(origin, "/")
451}
452
453func extractSummary(markdown string) string {
454 lines := strings.Split(markdown, "\n")

Callers 2

runReviewFunction · 0.85
runReviewCommentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected