MCPcopy
hub / github.com/perkeep/perkeep / HasLegacySHA1

Method HasLegacySHA1

pkg/client/client.go:647–652  ·  view source on GitHub ↗

HasLegacySHA1 reports whether the server has SHA-1 blobs indexed.

()

Source from the content-addressed store, hash-verified

645
646// HasLegacySHA1 reports whether the server has SHA-1 blobs indexed.
647func (c *Client) HasLegacySHA1() (bool, error) {
648 if err := c.condDiscovery(); err != nil {
649 return false, err
650 }
651 return c.hasLegacySHA1, nil
652}
653
654// SyncInfo holds the data that were acquired with a discovery
655// and that are relevant to a syncHandler.

Callers 1

wholeRefMethod · 0.95

Calls 1

condDiscoveryMethod · 0.95

Tested by

no test coverage detected