src/search/node/FindInFilesDomain.js
function getFilesizeInBytes(fileName) {
    try {
        var stats = fs.statSync(fileName);
        return stats.size || 0;
    } catch (ex) {
        console.log(ex);
        return 0;
    }
}
function getFilesizeInBytes(fileName) {
    try {
        var stats = fs.statSync(fileName);
        return stats.size || 0;
    } catch (ex) {
        console.log(ex);
        return 0;
    }
}
function getFilesizeInBytes ( fileName ) { try { var stats = fs . statSync ( fileName ) ; return stats . size || 0 ; } catch ( ex ) { console . log ( ex ) ; return 0 ; } }
Gets the file size in bytes.
@param   {string} fileName The name of the file to get the size
@returns {Number} the file size in bytes
Gets the file size in bytes .