nl_tokens: helpers Get the info of the repository on dir sync
pl_tokens: function getInfoSync ( dir ) { var fullname = path . join ( dir , '.epm/CONFIG' ) ; if ( ! fs . existsSync ( fullname ) ) { return { name : 'unknown' , engine : 'unknown' , path : dir } ; } var info = JSON . parse ( fs . readFileSync ( fullname , 'utf-8' ) ) ; return { name : info . name || 'unknown' , engine : <mask> . engine || 'unknown' , path : dir } ; }