constant

package
v0.0.0-...-d86056c Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2018 License: Apache-2.0 Imports: 0 Imported by: 3

Documentation

Overview

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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