Skip to main content

Crate suture_common

Crate suture_common 

Source
Expand description

Suture Common — Shared types, errors, and utilities used across all crates.

This crate defines the foundational data structures that every other crate depends on: hashes, patch IDs, branch names, error types, and serialization helpers.

Structs§

BranchName
A branch name. Must be non-empty and contain only valid UTF-8.
Hash
A BLAKE3 content hash (32 bytes / 256 bits).
RepoPath
The path to a file within a Suture repository (relative to repo root).

Enums§

CommonError
Top-level error type for the suture-common crate.
FileStatus
Status of a file in the working set.

Type Aliases§

PatchId
A patch identifier — currently identical to a BLAKE3 hash of the patch content.