code: function getStatus(localHash: string, cacheHash: ?string): string {
    if (!cacheHash) {
      return LocalStatus.New;
    }
  
    return localHash === cacheHash
      ? LocalStatus.Unchanged
      : LocalStatus.Changed;
  }
docs: Get local status based on cache.