NewHashReference creates a new HashReference reference
(n ReferenceName, h Hash)
| 252 | |
| 253 | // NewHashReference creates a new HashReference reference |
| 254 | func NewHashReference(n ReferenceName, h Hash) *Reference { |
| 255 | return &Reference{ |
| 256 | t: HashReference, |
| 257 | n: n, |
| 258 | h: h, |
| 259 | } |
| 260 | } |
| 261 | |
| 262 | // Type returns the type of a reference |
| 263 | func (r *Reference) Type() ReferenceType { |
no outgoing calls
searching dependent graphs…