permos

package module
v0.0.0-...-6eb9773 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: MIT Imports: 1 Imported by: 1

README

permos

Documentation

Index

Constants

View Source
const (
	OtherExec fs.FileMode = 1 << iota
	OtherWrite
	OtherRead
	GroupExec
	GroupWrite
	GroupRead
	UserExec
	UserWrite
	UserRead
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Perm

type Perm struct {
	UserRead   bool
	UserWrite  bool
	UserExec   bool
	GroupRead  bool
	GroupWrite bool
	GroupExec  bool
	OtherRead  bool
	OtherWrite bool
	OtherExec  bool
	AllRead    bool
	AllWrite   bool
	AllExec    bool
}

func (*Perm) FileMode

func (p *Perm) FileMode() (ret fs.FileMode)

Jump to

Keyboard shortcuts

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