6 Commits

Author SHA1 Message Date
Alex Lyon ce26f3ac0f Use passwd and group from libc rather than custom definitions 2018-03-06 02:40:03 -08:00
Ben S 0d9a3911fd Add docs and fix warnings 2016-01-29 13:52:13 +00:00
Ben S 941068b99c Add a full UsersCache constructor 2016-01-29 13:30:48 +00:00
Ben S b5c4d07f6b Replace group fields with accessors, too
This does the same thing: it hides the fact that a group's name is actually within an Arc.
2016-01-28 15:39:04 +00:00
Ben S fefddc4a76 Replace User fields with getters
The name() accessor is able to hide the fact that the user's actual name string is hidden in an Arc. (The Arc is still available, since it's needed for caching)
2016-01-28 15:04:22 +00:00
Ben S 77eefe0176 Rename OSUsers to UsersCache
It's more descriptive to call it a cache when there are functions that do all the *actual* OS users stuff separately now.

Similarly, we may as well call its constructor 'new' instead of 'empty_cache', because it's obvious that it's a cache now.
2016-01-26 19:17:24 +00:00