(e fs.Entry)
| 73 | } |
| 74 | |
| 75 | func maybeOID(e fs.Entry) string { |
| 76 | if h, ok := e.(object.HasObjectID); ok { |
| 77 | return h.ObjectID().String() |
| 78 | } |
| 79 | |
| 80 | return "" |
| 81 | } |
| 82 | |
| 83 | func (c *Comparer) compareDirectories(ctx context.Context, dir1, dir2 fs.Directory, parent string) error { |
| 84 | log(ctx).Debugf("comparing directories %v (%v and %v)", parent, maybeOID(dir1), maybeOID(dir2)) |
no test coverage detected