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

Method GetUserID

cli/pkg/dotrill/dotrill.go:230–232  ·  view source on GitHub ↗

GetCurrentUserID gets the current user ID

()

Source from the content-addressed store, hash-verified

228
229// GetCurrentUserID gets the current user ID
230func (d DotRill) GetUserID() (string, error) {
231 return d.Get(StateFilename, UserIDStateKey)
232}
233
234// SetCurrentUserID saves the current user ID
235func (d DotRill) SetUserID(userID string) error {

Callers 1

CurrentUserIDMethod · 0.80

Calls 1

GetMethod · 0.95

Tested by

no test coverage detected