Returns true if the RevTree has an entry for this revid.
(revid string)
| 269 | |
| 270 | // Returns true if the RevTree has an entry for this revid. |
| 271 | func (tree RevTree) contains(revid string) bool { |
| 272 | _, exists := tree[revid] |
| 273 | return exists |
| 274 | } |
| 275 | |
| 276 | // Returns the RevInfo for a revision ID, or panics if it's not found |
| 277 | func (tree RevTree) getInfo(revid string) (*RevInfo, error) { |
no outgoing calls