Expand description
Void SDK — public API for embedding void in applications.
The Repo struct is the primary entry point. Open a repository with
Repo::builder, then use methods to read files, commit changes,
manage branches, and more.
ⓘ
use void_core::sdk::Repo;
let repo = Repo::builder(".")
.key(&key_bytes)
.build()?;
let status = repo.status()?;
let info = repo.commit("checkpoint")?;Re-exports§
Structs§
- Commit
Id - Opaque commit identifier.
- Commit
Info - Information about a commit.
- DirEntry
- An entry in a directory listing.
- Repo
- A void repository — the primary SDK entry point.
- Repo
Builder - Builder for opening a
Repo.