(d KeyedLocker)
| 142 | } |
| 143 | |
| 144 | func WithDuplicationSuppressor(d KeyedLocker) UnpackerOpt { |
| 145 | return UnpackerOpt(func(c *unpackerConfig) error { |
| 146 | c.duplicationSuppressor = d |
| 147 | return nil |
| 148 | }) |
| 149 | } |
| 150 | |
| 151 | func WithUnpackLimiter(l Limiter) UnpackerOpt { |
| 152 | return UnpackerOpt(func(c *unpackerConfig) error { |
no test coverage detected
searching dependent graphs…