1IO.fileExists(3kaya) Kaya module reference IO.fileExists(3kaya)
2
3
4
6 IO::fileExists - Checks a file exists
7
9 Bool fileExists( String fname )
10
12 fname The file name
13
15 Returns true if the filename exists, false otherwise. If the file
16 exists, but the current process is unable to determine this (for exam‐
17 ple, because the file is in an unreadable directory), false will be
18 returned.
19
21 Kaya standard library by Edwin Brady, Chris Morris and others
22 (kaya@kayalang.org). For further information see http://kayalang.org/
23
25 The Kaya standard library is free software; you can redistribute it
26 and/or modify it under the terms of the GNU Lesser General Public
27 License (version 2.1 or any later version) as published by the Free
28 Software Foundation.
29
31 IO.fileExecutable (3kaya)
32 IO.fileReadable (3kaya)
33 IO.fileWritable (3kaya)
34 IO.stat (3kaya)
35
36
37
38Kaya December 2010 IO.fileExists(3kaya)