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

Method SetUserCheckHash

cli/pkg/dotrill/dotrill.go:245–247  ·  view source on GitHub ↗

SetUserCheckHash sets the hash used to determine whether to re-fetch the user ID.

(hash string)

Source from the content-addressed store, hash-verified

243
244// SetUserCheckHash sets the hash used to determine whether to re-fetch the user ID.
245func (d DotRill) SetUserCheckHash(hash string) error {
246 return d.Set(StateFilename, UserCheckHashStateKey, hash)
247}
248
249// AnalyticsInfo returns analytics info.
250// It loads a persistent install ID from ~/.rill/state.yaml (setting one if not found).

Callers 1

CurrentUserIDMethod · 0.80

Calls 1

SetMethod · 0.95

Tested by

no test coverage detected