Category talk:Wren-ioutil: Difference between revisions

Content added Content deleted
(→‎Source code: Bug-fix.)
(→‎Source code: Corrected method name.)
Line 23: Line 23:
// The files must exist and not be the same file.
// The files must exist and not be the same file.
// Use only if the entire contents of both files can be held temporarily in memory.
// Use only if the entire contents of both files can be held temporarily in memory.
static areDuplicates(path1, path2) { !areSamefile(path1, path2) && read(path1) == read(path2) }
static areDuplicates(path1, path2) { !areSameFile(path1, path2) && read(path1) == read(path2) }


// Private worker method for copying files.
// Private worker method for copying files.