list all branches in the repository
()
| 58 | * list all branches in the repository |
| 59 | */ |
| 60 | private List<String> iteratorBranchNames(){ |
| 61 | final List<RefObject> refObjects = ZitContext.iteratorRefs(ConstantVal.HEADS_PATH); |
| 62 | return refObjects.stream() |
| 63 | .map(RefObject::getRefName) |
| 64 | .map(path -> Paths.get(path).relativize(Paths.get(ConstantVal.HEADS_PATH)).toString()) |
| 65 | .collect(Collectors.toList()); |
| 66 | } |
| 67 | |
| 68 | |
| 69 | /** |
no test coverage detected