Skip to main content

Module service

Module service 

Source
Expand description

GitTorrent Service - Core P2P Git Repository Service

This module implements the main GitTorrent service that orchestrates:

  • Git repository operations using git2
  • Content-addressed object storage/transfer via iroh-blobs + the mainline locator (the libp2p Kademlia DHT was retired in F3, #901)
  • CID-based content addressing and distribution

Structsยง

GitTorrentConfig
Configuration for GitTorrent service
GitTorrentService
Main GitTorrent service
ObjectFetch
The bytes of an object fetched by CID, paired with their commit provenance so callers can decide whether persistence is safe.
ObjectStats
Statistics about objects in a repository
RepositoryMetadata
Repository metadata for object-based storage
ServiceStats
Statistics about the GitTorrent service