MCPcopy
hub / github.com/harness/harness / GetPullReqCommentIDPath

Function GetPullReqCommentIDPath

app/api/request/pullreq.go:55–57  ·  view source on GitHub ↗
(r *http.Request)

Source from the content-addressed store, hash-verified

53}
54
55func GetPullReqCommentIDPath(r *http.Request) (int64, error) {
56 return PathParamAsPositiveInt64(r, PathParamPullReqCommentID)
57}
58
59func GetPullReqSourceBranchFromPath(r *http.Request) (string, error) {
60 return PathParamOrError(r, PathParamSourceBranch)

Callers 3

HandleCommentUpdateFunction · 0.92
HandleCommentStatusFunction · 0.92
HandleCommentDeleteFunction · 0.92

Calls 1

PathParamAsPositiveInt64Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…