public function addUpstream($key, $spec)
public function addUpstream($key, $spec)
Parameters
| $key | ||
| array | $spec | 
Return
| wild | 
public function removeUpstream($key)
public function removeUpstream($key)
Parameters
| $key | 
Return
| wild | 
public function getUpstream($key)
public function getUpstream($key)
Parameters
| $key | 
Return
| wild | 
public function getLength()
public function getLength()
Return
| wild | 
public function isConnectedToRemote()
public function isConnectedToRemote()
Test if this path eventually connects to a remote.
Return
| bool | True if the path connects to a remote. | 
public function getLocalBranches()
public function getLocalBranches()
Return
| wild | 
public function getRemoteBranchName()
public function getRemoteBranchName()
Return
| wild | 
public function getRemoteRemoteName()
public function getRemoteRemoteName()
Return
| wild | 
public function getCycle()
public function getCycle()
If this path contains a cycle, return a description of it.
Return
| list<string>|null | Cycle, if the path contains one. |