Skip to main content

Module gittorrent_integration

Module gittorrent_integration 

Source
Expand description

GitTorrent transport integration for git2db

This module provides integration between git2db’s transport system and the gittorrent-rs P2P git transport.

Configuration is loaded automatically using GitTorrentConfig::load() with priority:

  1. GITTORRENT_* environment variables
  2. ~/.config/gittorrent/git-remote-gittorrent.* config file
  3. Default values

Structs§

GittorrentTransportBridge
Bridge between gittorrent’s TransportFactory and git2db’s TransportFactory

Functions§

register_gittorrent
Register gittorrent transport with GitManager