comparison src/luan/modules/Boot.luan @ 1311:ca742d51b31f

don't delete into symbolic links
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 24 Jan 2019 21:15:03 -0700
parents 9eb3a9724853
children 307e76ccd0d6
comparison
equal deleted inserted replaced
1310:41b35c15ad36 1311:ca742d51b31f
127 this.mkdir = io.mkdir 127 this.mkdir = io.mkdir
128 this.last_modified = io.file.lastModified 128 this.last_modified = io.file.lastModified
129 this.set_last_modified = io.set_last_modified 129 this.set_last_modified = io.set_last_modified
130 this.length = io.file.length 130 this.length = io.file.length
131 this.rename_to = io.rename_to 131 this.rename_to = io.rename_to
132 this.is_symbolic_link = io.is_symbolic_link
132 133
133 function this.child(name) 134 function this.child(name)
134 return new_LuanFile( io.child(name) ) 135 return new_LuanFile( io.child(name) )
135 end 136 end
136 137