Documentation ¶
Index ¶
Constants ¶
View Source
const ( SID_NAME_CREATOR_OWNER = "S-1-3-0" SID_NAME_CREATOR_GROUP = "S-1-3-1" SID_NAME_EVERYONE = "S-1-1-0" )
View Source
const DELETE = 0x10000
View Source
const FILE_APPEND_DATA = windows.FILE_APPEND_DATA // for a directory, the ability to add a subdirectory
View Source
const FILE_EXECUTE = 0x20 // for a directory, the ability to traverse
View Source
const FILE_READ_ATTRIBUTES = 0x80
View Source
const FILE_READ_DATA = windows.FILE_LIST_DIRECTORY // for a directory, the ability to list contents
access mask constants from https://docs.microsoft.com/en-us/windows/desktop/wmisdk/file-and-directory-access-rights-constants the x/sys/windows package defines some but not all of these constants
View Source
const FILE_READ_EA = 0x08
View Source
const FILE_WRITE_ATTRIBUTES = windows.FILE_WRITE_ATTRIBUTES
View Source
const FILE_WRITE_DATA = 0x02 // for a directory, the ability to add a file
the windows package only has this by the "LIST_DIRECTORY" name
View Source
const FILE_WRITE_EA = 0x10
View Source
const PERM_EXECUTE uint32 = 0 | FILE_EXECUTE | FILE_READ_ATTRIBUTES | windows.STANDARD_RIGHTS_EXECUTE | SYNCHRONIZE
View Source
const PERM_READ uint32 = 0 | FILE_READ_ATTRIBUTES | FILE_READ_DATA | FILE_READ_EA | windows.STANDARD_RIGHTS_READ | SYNCHRONIZE
View Source
const PERM_WRITE uint32 = 0 | FILE_APPEND_DATA | FILE_WRITE_ATTRIBUTES | FILE_WRITE_DATA | FILE_WRITE_EA | windows.STANDARD_RIGHTS_WRITE | SYNCHRONIZE
View Source
const SYNCHRONIZE = windows.SYNCHRONIZE
Variables ¶
View Source
var Chmod = os.Chmod
Chmod is os.Chmod.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.