Skip to main content

Module backend

Module backend 

Source
Expand description

Backend trait abstraction for git/GitHub operations.

This module provides a trait-based abstraction over data sources (local git, GitHub API, or both), enabling:

  • Cross-project references (issues referencing PRs in different repos)
  • Future non-GitHub hosting support
  • Optimal path selection when both local and remote sources are available

Structs§

GitBackend
Pure local git backend wrapping a GitRepo.

Traits§

Backend
Unified backend trait for all git/GitHub operations.

Functions§

resolve_backend
Resolve the best backend based on available resources.
resolve_backend_with_notices
Resolve the best backend based on available resources, with a notice callback.