factor out http server and client into own modules

To avoid a cycle when Remote.Git uses the client.
This commit is contained in:
Joey Hess 2024-07-23 14:12:03 -04:00
parent 6bbc4565e6
commit b0eed55d4f
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
7 changed files with 890 additions and 845 deletions

View file

@ -12,7 +12,8 @@
module Command.P2PHttp where
import Command
import P2P.Http
import P2P.Http.Server
import P2P.Http.Client
import P2P.Http.Url
import qualified P2P.Protocol as P2P
import Annex.Url