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

Function refreshablePath

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

Source from the content-addressed store, hash-verified

703}
704
705func refreshablePath(hostname, username string) []string {
706 path := []string{hostsKey, hostname}
707 if username != "" {
708 path = append(path, usersKey, username)
709 }
710 return append(path, refreshableTokenKey)
711}
712
713func refreshableServiceName(hostname string) string {
714 // The "refreshable" marker is prefixed with an underscore, which is not a valid hostname character under the LDH

Calls

no outgoing calls