MCPcopy
hub / github.com/nektos/act / ExternalURL

Method ExternalURL

pkg/artifactcache/handler.go:133–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131}
132
133func (h *Handler) ExternalURL() string {
134 if h.customExternalURL != "" {
135 return h.customExternalURL + "/" + h.token
136 }
137 return fmt.Sprintf("http://%s:%d/%s", h.outboundIP, h.GetActualPort(), h.token)
138}
139
140func (h *Handler) Close() error {
141 if h == nil {

Callers 4

findMethod · 0.95
newRunCommandFunction · 0.95
TestHandlerFunction · 0.80

Calls 1

GetActualPortMethod · 0.95

Tested by 2

TestHandlerFunction · 0.64