MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / GetRemoteByHost

Function GetRemoteByHost

cli/internal/dal/remote.go:91–93  ·  view source on GitHub ↗
(host string, userName string)

Source from the content-addressed store, hash-verified

89}
90
91func GetRemoteByHost(host string, userName string) (remoteInfo *workspace.RemoteInfo, err error) {
92 return getRemote(0, host, userName)
93}
94
95func RemoveRemote(remoteId int, host string, userName string) error {
96 db := getDb()

Callers 1

InsertOrUpdateRemoteFunction · 0.85

Calls 1

getRemoteFunction · 0.85

Tested by

no test coverage detected