1IO.rename(3kaya) Kaya module reference IO.rename(3kaya)
2
3
4
6 IO::rename - Rename a file
7
9 Void rename( String old, String new )
10
12 old The current file name (and path)
13
14 new The new file name (and path)
15
17 Rename a file, moving it to a new directory if necessary. If a file
18 with the name new already exists, it will be replaced.
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
30
31
32Kaya December 2010 IO.rename(3kaya)