function statItem(folderPath, itemName) {
  return fs
    .statAsync(path.join(folderPath, itemName))
    .then((stats) => ({
      folderPath,
      itemName,
      stats
    }))
    .catch(() => false);
}
/**
 * Collects information about folder item.
 * @param  {String} folderPath Path of the folder.
 * @param  {String} itemName   Name of the item inside the folder.
 * @return {Object}            Details of the item.
 */
Collects information about folder item.
@param  {String} folderPath Path of the folder.
@param  {String} itemName   Name of the item inside the folder.
@return {Object}            Details of the item.
Collects information about folder item . @param { String } folderPath Path of the folder . @param { String } itemName Name of the item inside the folder . @return { Object } Details of the item .
function statItem(folderPath, itemName) {
  return fs
    .statAsync(path.join(folderPath, itemName))
    .then((stats) => ({
      folderPath,
      itemName,
      stats
    }))
    .catch(() => false);
}
function statItem ( folderPath , itemName ) { return fs . statAsync ( path . join ( folderPath , itemName ) ) . then ( ( stats ) => ( { folderPath , itemName , stats } ) ) . catch ( ( ) => false ) ; }
Collects information about folder item.
Collects information about folder item .