MCPcopy
hub / github.com/git-lfs/git-lfs / configureSSHAdapter

Function configureSSHAdapter

tq/ssh.go:415–426  ·  view source on GitHub ↗
(m *concreteManifest)

Source from the content-addressed store, hash-verified

413}
414
415func configureSSHAdapter(m *concreteManifest) {
416 m.RegisterNewAdapterFunc("ssh", Upload, func(name string, dir Direction) Adapter {
417 a := &SSHAdapter{newAdapterBase(m.fs, name, dir, nil), nil, m.sshTransfer}
418 a.transferImpl = a
419 return a
420 })
421 m.RegisterNewAdapterFunc("ssh", Download, func(name string, dir Direction) Adapter {
422 a := &SSHAdapter{newAdapterBase(m.fs, name, dir, nil), nil, m.sshTransfer}
423 a.transferImpl = a
424 return a
425 })
426}

Callers 1

newConcreteManifestFunction · 0.85

Calls 2

newAdapterBaseFunction · 0.85

Tested by

no test coverage detected