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

Function refreshablePath

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

Source from the content-addressed store, hash-verified

798}
799
800func refreshablePath(hostname, username string) []string {
801 path := []string{hostsKey, hostname}
802 if username != "" {
803 path = append(path, usersKey, username)
804 }
805 return append(path, refreshableTokenKey)
806}
807
808func refreshableServiceName(hostname string) string {
809 // The "refreshable" marker is prefixed with an underscore, which is not a valid hostname character under the LDH

Calls

no outgoing calls