Class PhutilGitURI
Parser for the alternate URI scheme used by SCP and Git, which look
like this:
(Git calls these URIs "scp-style" in its documentation, but most users and
developers are likely to run into them in the context of Git and I couldn't
find an official name or specification, so I'm going with "GitURI".)
Note that these URIs can not be transformed into normal URIs because the
path is interpreted as relative on the remote, rather than absolute (as with
normal URIs).
Tasks
Methods
public this __construct($uri)
| parameters | wild | $uri | |
| return | this | | |
This method is not documented.
public __toString()
This method is not documented.
public getDomain()
This method is not documented.
public getPath()
This method is not documented.
public getUser()
This method is not documented.
private static parseURI($uri)
| parameters | wild | $uri | |
| return | wild | | |
This method is not documented.
public setDomain($domain)
| parameters | wild | $domain | |
| return | wild | | |
This method is not documented.
public setPath($path)
| parameters | wild | $path | |
| return | wild | | |
This method is not documented.
public setUser($user)
| parameters | wild | $user | |
| return | wild | | |
This method is not documented.