lib/tomas.js
function getName(name) {
    const ext = path.extname(name);
    
    const nameCrypt = crypto.createHash('sha1')
        .update(name)
        .digest('hex') + ext;
    
    return getDir() + nameCrypt;
}
function getName(name) {
    const ext = path.extname(name);
    
    const nameCrypt = crypto.createHash('sha1')
        .update(name)
        .digest('hex') + ext;
    
    return getDir() + nameCrypt;
}
function getName ( name ) { const ext = path . extname ( name ) ; const nameCrypt = crypto . createHash ( 'sha1' ) . update ( name ) . digest ( 'hex' ) + ext ; return getDir ( ) + nameCrypt ; }
function get name of file in min folder

@param name
function get name of file in min folder