public class RefTreeNames extends Object
| Modifier and Type | Method and Description |
|---|---|
static Collection<Ref> |
allRefs(RefDatabase refdb)
Snapshot all references from a RefTreeDatabase and its bootstrap.
|
static boolean |
isRefTree(RefDatabase refdb,
String ref)
Determine if the reference is likely to be a RefTree.
|
public static boolean isRefTree(RefDatabase refdb, String ref)
refdb - database instance.ref - reference name.true if the reference is a RefTree.public static Collection<Ref> allRefs(RefDatabase refdb) throws IOException
There may be name conflicts with multiple Ref objects containing
the same name in the returned collection.
refdb - database instance.IOException - references cannot be enumerated.Copyright © 2016 Eclipse JGit Project. All Rights Reserved.