
[lua scripts api] created manual from embedded library documentation [lua api] created stub to contain lua api manual
532 B
532 B
title | id | weight | draft | author |
---|---|---|---|---|
file_copy | file_copy | 70 | false | people |
NAME
file_copy
SYNOPSIS
copy a file to another name/location
USAGE
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
DESCRIPTION
copy a file using a succession of methods from operating system to a pure lua solution
RETURN VALUE
result - boolean - nil on error, true on success