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

Function refreshablePath

internal/config/refreshable.go:626–632  ·  view source on GitHub ↗
(hostname, username string)

Source from the content-addressed store, hash-verified

624}
625
626func refreshablePath(hostname, username string) []string {
627 path := []string{hostsKey, hostname}
628 if username != "" {
629 path = append(path, usersKey, username)
630 }
631 return append(path, refreshableTokenKey)
632}
633
634func refreshableServiceName(hostname string) string {
635 // The "refreshable" marker is prefixed with an underscore, which is not a valid hostname character under the LDH

Calls

no outgoing calls