GetByScope returns the first user whose scope matches the given one, or ErrNotExist if none does. The user is returned as stored, without setting up its filesystem, as it is meant for existence checks rather than serving.
(scope string)
| 62 | // ErrNotExist if none does. The user is returned as stored, without setting up |
| 63 | // its filesystem, as it is meant for existence checks rather than serving. |
| 64 | func (s *Storage) GetByScope(scope string) (*User, error) { |
| 65 | return s.back.GetByScope(scope) |
| 66 | } |
| 67 | |
| 68 | // Gets gets a list of all users. |
| 69 | func (s *Storage) Gets(baseScope string, followExternalSymlinks bool) ([]*User, error) { |
nothing calls this directly
no test coverage detected