ReferenceStorage implements the storer.ReferenceStorage for the transactional package.
| 8 | |
| 9 | // ReferenceStorage implements the storer.ReferenceStorage for the transactional package. |
| 10 | type ReferenceStorage struct { |
| 11 | storer.ReferenceStorer |
| 12 | temporal storer.ReferenceStorer |
| 13 | |
| 14 | // deleted, remaining references at this maps are going to be deleted when |
| 15 | // commit is requested, the entries are added when RemoveReference is called |
| 16 | // and deleted if SetReference is called. |
| 17 | deleted map[plumbing.ReferenceName]struct{} |
| 18 | } |
| 19 | |
| 20 | // NewReferenceStorage returns a new ReferenceStorer based on a base storer and |
| 21 | // a temporal storer. |
nothing calls this directly
no outgoing calls
no test coverage detected