dist/utils.js
function copy(src, dest) {
    if (!src || !dest)
        return false;
    try {
        fs_extra_1.copySync(src, dest);
        logger_1.log.notify("copied " + src + " to " + dest + ".");
        return true;
    }
    catch (ex) {
        logger_1.log.warn("failed to copy " + src + " to " + dest + ".");
        return false;
    }
}
function copy(src, dest) {
    if (!src || !dest)
        return false;
    try {
        fs_extra_1.copySync(src, dest);
        logger_1.log.notify("copied " + src + " to " + dest + ".");
        return true;
    }
    catch (ex) {
        logger_1.log.warn("failed to copy " + src + " to " + dest + ".");
        return false;
    }
}
function copy ( src , dest ) { if ( ! src || ! dest ) return false ; try { fs_extra_1 . copySync ( src , dest ) ; logger_1 . log . notify ( "copied " + src + " to " + dest + "." ) ; return true ; } catch ( ex ) { logger_1 . log . warn ( "failed to copy " + src + " to " + dest + "." ) ; return false ; } }
Copy
Copies source to target. Does NOT support globs.

@param src the source path to be copied.
@param dest the destination path to copy to.
Copy Copies source to target . Does NOT support globs .