cached

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUserHomeDir

func GetUserHomeDir() string

func NewGroupnameMap

func NewGroupnameMap() *groupnameMap

func NewUsernameMap

func NewUsernameMap() *usernameMap

Types

type Gid

type Gid = string

type Groupname

type Groupname = string

func GetGroupname added in v0.5.0

func GetGroupname(g Gid) Groupname

func GetUsername added in v0.5.0

func GetUsername(u Uid) 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]

type Uid

type Uid = string

type Username

type Username = string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL