Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUserHomeDir ¶
func GetUserHomeDir() string
func NewUsernameMap ¶
func NewUsernameMap() *usernameMap
Types ¶
type Groupname ¶
type Groupname = string
func GetGroupname ¶ added in v0.5.0
func GetUsername ¶ added in v0.5.0
type GroupnameMap ¶ added in v0.8.0
type GroupnameMap struct {
// contains filtered or unexported fields
}
GroupnameMap is a map from Gid to Groupname
func NewGroupnameMap ¶
func NewGroupnameMap() *GroupnameMap
func (*GroupnameMap) Get ¶ added in v0.8.0
func (m *GroupnameMap) Get(g Gid) Groupname
type Map ¶ added in v0.4.0
type Map[k comparable, v any] struct { *tsmap.Map[k, v] }
func NewCacheMap ¶ added in v0.4.0
func NewCacheMap[k comparable, v any](len int) *Map[k, v]
Click to show internal directories.
Click to hide internal directories.