//! Builds a compact repository prompt from one snapshot.
//!
//! See `crates/core/docs/cookbook.md` — "A prompt / status-bar line in one or two spawns".
//!
//! ```no_run
//! # async fn run() -> vcs_core::Result<()> {
//! let repo = vcs_core::Repo::discover(".")?;
//! let snapshot = repo.snapshot().await?;
//! # let _ = snapshot;
//! # Ok(())
//! # }
//! ```
use Repo;
async