user

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	OSUser *user.User
}

func NewUser

func NewUser() (u User, err error)

func (*User) CacheDir

func (u *User) CacheDir() string

func (*User) DefaultIdentity

func (u *User) DefaultIdentity() string

func (*User) HomeDir

func (u *User) HomeDir() string

func (*User) InitOSCDirs

func (u *User) InitOSCDirs() error

func (*User) RemoveOSCDirs

func (u *User) RemoveOSCDirs() error

func (*User) RunDir

func (u *User) RunDir() string

func (*User) SSHDir

func (u *User) SSHDir() string

func (*User) Username

func (u *User) Username() string

Jump to

Keyboard shortcuts

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