node.foldercopy
node-module, .\src\foldercopy.jscopies the specified folder
it does it recursively from the source-folder to destination-folder including all files
- Functions
- public recursiveCopy(folders, p, dest)
copies the specified folders
the function looks in the source folder for the dirs and copies them recursively to the destination
- Parameter
- public copyFolder(base, folder, recurse, dest)
copies the specified folder
- Parameter
- public copyFile(base, file, dest)
copies the specified file
- Parameter
- private iterator(arr, fneach, fnend)
iterates over an array
during iteration it calls fneach for each element and fnend when iteration is done
- Parameter
- Usage
var fc = require('foldercopy');