filemodes

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AllPermission                                os.FileMode = 0777
	AllExecute                                   os.FileMode = 0111
	AllReadExecute                               os.FileMode = 0555
	AllRead                                      os.FileMode = 0444
	AllWrite                                     os.FileMode = 0222
	AllWriteExecute                              os.FileMode = 0333
	OwnerCanDoAllExecuteGroupOtherCanReadExecute os.FileMode = 0755
	OwnerCanReadWriteGroupOtherCanReadOnly       os.FileMode = 0644
	OwnerCanDoAllGroupOtherCanReadOnly           os.FileMode = 0744
	OwnerCanDoAllGroupOtherCanReadWriteOnly      os.FileMode = 0766
	OwnerCanDoAllGroupOtherCanExecuteOnly        os.FileMode = 0711
	OwnerCanDoAllGroupOtherCanReadExecuteOnly    os.FileMode = 0755
	OwnerCanDoAllGroupOtherCanWriteOnly          os.FileMode = 0722
)

When used 0, golang treats it as octal not decimal anymore.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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