code: func digestPathComponents(dgst digest.Digest, multilevel bool) ([]string, error) {
  	if err := dgst.Validate(); err != nil {
  		return nil, err
  	}
  
  	algorithm := blobAlgorithmReplacer.Replace(string(dgst.Algorithm()))
  	hex := dgst.Hex()
  	prefix := []string{algorithm}
  
  	var suffix []string
  
  	if multilevel {
  		suffix = append(suffix, hex[:2])
  	}
  
  	suffix = append(suffix, hex)
  
  	return append(prefix, suffix...), nil
  }
docs: // digestPathComponents provides a consistent path breakdown for a given
  // digest. For a generic digest, it will be as follows:
  //
  // 	<algorithm>/<hex digest>
  //
  // If multilevel is true, the first two bytes of the digest will separate
  // groups of digest folder. It will be as follows:
  //
  // 	<algorithm>/<first two bytes of digest>/<full digest>
  //