constant

package
v0.0.0-...-ba2213e Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PERM_PRIORITY = 0x1 << 3
	PERM_READ     = 0x1 << 2
	PERM_WRITE    = 0x1 << 1
	PERM_INHERIT  = 0x1 << 0
)

PERM 读写权限 Author gaoyanlei Since 2017/8/9

Variables

This section is empty.

Functions

func IsInherited

func IsInherited(perm int) bool

IsInherited 是否可继承

func IsReadable

func IsReadable(perm int) bool

IsReadable 是否可读

func IsWriteable

func IsWriteable(perm int) bool

IsWriteable 是否可写

func Perm2String

func Perm2String(perm int) string

Perm2String 转化为友好的展示效果:可读、可写、可继承

Types

This section is empty.

Jump to

Keyboard shortcuts

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