String returns a string representation of PartSetHeader. 1. total number of parts 2. first 6 bytes of the hash
()
| 101 | // 1. total number of parts |
| 102 | // 2. first 6 bytes of the hash |
| 103 | func (psh PartSetHeader) String() string { |
| 104 | return fmt.Sprintf("%v:%X", psh.Total, tmbytes.Fingerprint(psh.Hash)) |
| 105 | } |
| 106 | |
| 107 | func (psh PartSetHeader) IsZero() bool { |
| 108 | return psh.Total == 0 && len(psh.Hash) == 0 |
nothing calls this directly
no outgoing calls
no test coverage detected