SetUserCheckHash sets the hash used to determine whether to re-fetch the user ID.
(hash string)
| 243 | |
| 244 | // SetUserCheckHash sets the hash used to determine whether to re-fetch the user ID. |
| 245 | func (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). |