1IO.Mode(3kaya) Kaya module reference IO.Mode(3kaya)
2
3
4
6 IO::Mode - File modes
7
9 IO::Mode< >
10
11
12 = Mode([IO::Permission] ownerperms,[IO::Permission] groupperms,[IO::Per‐
13 mission] othersperms,Bool socket,Bool symlink,Bool regular,Bool
14 block,Bool dir,Bool chardev,Bool fifo,Bool setUID,Bool setGID,Bool
15 sticky)
16
18 This describes the mode of the file. The first three fields describe
19 the access IO.Permission (3kaya) for the file owner, the file group,
20 and others, while the remaining fields state whether a particular file
21 property is true.
22
23 This data type mostly applies to the filesystems normally found on
24 POSIX systems. On Windows, the file permission and type model is some‐
25 what different, so this data type may not hold especially useful infor‐
26 mation there.
27
29 Kaya standard library by Edwin Brady, Chris Morris and others
30 (kaya@kayalang.org). For further information see http://kayalang.org/
31
33 The Kaya standard library is free software; you can redistribute it
34 and/or modify it under the terms of the GNU Lesser General Public
35 License (version 2.1 or any later version) as published by the Free
36 Software Foundation.
37
39 IO.Permission (3kaya)
40 IO.Stat (3kaya)
41
42
43
44Kaya December 2010 IO.Mode(3kaya)