code: function (file) {
      if (!filters || filters.length <= 0) {
        return true;
      }
  
      filters = Array.isArray(filters) ? filters : [filters];
  
      return filters.findIndex(filter => {
          return new RegExp(`^.*${filter}$`).test(file);
        }) >= 0;
    }
docs: 判断是否只获取指定对象