-
Notifications
You must be signed in to change notification settings - Fork 111
file_copy
wpferguson edited this page Jun 14, 2020
·
1 revision
file_copy
copy a file to another name/location
local df = require "lib/dtutils.file"
local result = df.file_copy(fromFile, toFile)
fromFile - string - name of file to copy from
toFile - string - name of file to copy to
copy a file using a succession of methods from operating system to a pure lua solution
result - boolean - nil on error, true on success