code: func (c *Client) HasLegacySHA1() (bool, error) {
  	if err := c.condDiscovery(); err != nil {
  		return false, err
  	}
  	return c.hasLegacySHA1, nil
  }
docs: // HasLegacySHA1 reports whether the server has SHA-1 blobs indexed.