code: function getCacheStatus(file: Object): string {
    return [
      file.content.status,
      file.headers.status,
      file.remote.status
    ].reduce((prev, cur) => {
      const unchanged = cur === prev && (prev === LocalStatus.New || prev === LocalStatus.Unchanged);
      return unchanged ? prev : LocalStatus.Changed;
    });
  }
docs: Get cache status from local items (content, headers, remote).