IO.Mode(3kaya)
NAME
IO::Mode - File modes
SYNOPSIS
IO::Mode< > = Mode([IO::Permission] ownerperms,[IO::Permission] groupperms,[IO::Per- mission] othersperms,Bool socket,Bool symlink,Bool regular,Bool block,Bool dir,Bool chardev,Bool fifo,Bool setUID,Bool setGID,Bool sticky)
DESCRIPTION
This describes the mode of the file. The first three fields describe
the access IO.Permission (3kaya) for the file owner, the file group,
and others, while the remaining fields state whether a particular file
property is true.
This data type mostly applies to the filesystems normally found on
POSIX systems. On Windows, the file permission and type model is somewhat different, so this data type may not hold especially useful information there.
AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others
(kaya@kayalang.org). For further information see http://kayalang.org/
LICENSE
The Kaya standard library is free software; you can redistribute it
and/or modify it under the terms of the GNU Lesser General Public
License (version 2.1 or any later version) as published by the Free
Software Foundation.
RELATED
- IO.Permission (3kaya)
IO.Stat (3kaya)