MCPcopy Create free account
hub / github.com/cli/cli / IsSessionID

Function IsSessionID

pkg/cmd/agent-task/shared/capi.go:71–73  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

69}
70
71func IsSessionID(s string) bool {
72 return sessionIDRegexp.MatchString(s)
73}
74
75// ParseSessionIDFromURL parses session ID from a pull request's agent session
76// URL, which is of the form:

Callers 1

TestIsSessionFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestIsSessionFunction · 0.68