Class UrlHost
java.lang.Object
io.github.jbastgen.stemma.app.git.UrlHost
Takes a git remote URL apart: the transport, the host and the user name in it.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordhttps,ssh, … ; scp-like addresses aressh; empty for a local path. -
Method Summary
-
Method Details
-
parse
The scheme, user and host of a remote address (HTTPS,ssh://or scp-like); never a password. Empty when it is no remote address. -
matches
Whetherpattern(github.comor*.example.org) covershost.
-