()
| 167 | } |
| 168 | |
| 169 | func (o *ObjectStorage) Begin() storer.Transaction { |
| 170 | return &TxObjectStorage{ |
| 171 | Storage: o, |
| 172 | Objects: make(map[plumbing.Hash]plumbing.EncodedObject), |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | func (o *ObjectStorage) ForEachObjectHash(fun func(plumbing.Hash) error) error { |
| 177 | for h := range o.Objects { |
nothing calls this directly
no outgoing calls
no test coverage detected