(oid ID)
| 537 | } |
| 538 | |
| 539 | func indirectionLevel(oid ID) int { |
| 540 | indexObjectID, ok := oid.IndexObjectID() |
| 541 | if !ok { |
| 542 | return 0 |
| 543 | } |
| 544 | |
| 545 | return 1 + indirectionLevel(indexObjectID) |
| 546 | } |
| 547 | |
| 548 | func TestHMAC(t *testing.T) { |
| 549 | ctx := testlogging.Context(t) |
no test coverage detected