MCPcopy Create free account
hub / github.com/rilldata/rill / GetUserCheckHash

Method GetUserCheckHash

cli/pkg/dotrill/dotrill.go:240–242  ·  view source on GitHub ↗

GetUserCheckHash gets the hash used to determine whether to re-fetch the user ID.

()

Source from the content-addressed store, hash-verified

238
239// GetUserCheckHash gets the hash used to determine whether to re-fetch the user ID.
240func (d DotRill) GetUserCheckHash() (string, error) {
241 return d.Get(StateFilename, UserCheckHashStateKey)
242}
243
244// SetUserCheckHash sets the hash used to determine whether to re-fetch the user ID.
245func (d DotRill) SetUserCheckHash(hash string) error {

Callers 1

CurrentUserIDMethod · 0.80

Calls 1

GetMethod · 0.95

Tested by

no test coverage detected