| Constructor and Description |
|---|
PathUtil() |
| Modifier and Type | Method and Description |
|---|---|
Path |
convert(Path path) |
Path |
convert(Path path) |
Optional<String> |
extractBranch(String uri) |
String |
getNiogitRepoPath(Path path) |
Path |
normalizePath(Path path) |
String |
stripProtocolAndBranch(String uri) |
String |
stripRepoNameAndSpace(String strippedPath) |
public String stripRepoNameAndSpace(String strippedPath)
strippedPath - Assumed to be a return value of stripProtocolAndBranch(String)public String getNiogitRepoPath(Path path)
path - A path for a JGit file system. Must not be null.Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.