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

Method Close

internal/codespaces/portforwarder/port_forwarder.go:357–359  ·  view source on GitHub ↗

Close closes the port forwarder's tunnel client connection.

()

Source from the content-addressed store, hash-verified

355
356// Close closes the port forwarder's tunnel client connection.
357func (fwd *CodespacesPortForwarder) Close() error {
358 return fwd.connection.Close()
359}
360
361// AccessControlEntriesToVisibility converts the access control entries used by Dev Tunnels to a friendly visibility value.
362func AccessControlEntriesToVisibility(accessControlEntries []tunnels.TunnelAccessControlEntry) string {

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected