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

Method Close

internal/codespaces/portforwarder/port_forwarder.go:352–354  ·  view source on GitHub ↗

Close closes the port forwarder's tunnel client connection.

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected