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§
- Branch
Name - A branch name. Must be non-empty and contain only valid UTF-8.
- Hash
- A BLAKE3 content hash (32 bytes / 256 bits).
- Repo
Path - The path to a file within a Suture repository (relative to repo root).
Enums§
- Common
Error - Top-level error type for the suture-common crate.
- File
Status - Status of a file in the working set.
Type Aliases§
- PatchId
- A patch identifier — currently identical to a BLAKE3 hash of the patch content.