support P2PAnnex in connectPeer
authorJoey Hess <joeyh@joeyh.name>
Wed, 30 Jul 2025 17:21:29 +0000 (13:21 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 30 Jul 2025 17:23:23 +0000 (13:23 -0400)
commit4fb9b7cb676fb44d72a97eae858acf716557b04c
tree6f3505571d3fe3b783071546a60ff395b427bce9
parenta6f824846513a5fefec6c12542b78b14c2953c1c
support P2PAnnex in connectPeer

This is probably enough to support accessing remotes using p2p-annex:: urls.
Not tested yet of course since there is not yet support for serving the
other side of such a connection, or for setting up such a connection.

P2P.Generic has an implementation of the whole interface to the
git-annex-p2p-<netname> commands.
P2P/Generic.hs [new file with mode: 0644]
P2P/IO.hs
doc/design/generic_p2p_transport.mdwn
git-annex.cabal