code: function statAsync(path) {
    return new Promise((resolve, reject) => {
      _fs2.default.stat(path, (error, stats) => error ? reject(error) : resolve(stats));
    });
  }
docs: 异步获取文件信息
  @param {string} path
  @returns {Promise<Stats>}
   /* eslint no-useless-escape:0