diaryx_core 1.0.0

Core library for Diaryx - a tool to manage markdown files with YAML frontmatter
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Git-backed version history for workspace CRDTs.
//!
//! This module provides commit, compact, and rebuild operations that use git
//! as the authoritative history store. After each commit, CRDT update logs
//! can be compacted since the workspace state is now captured in git.
//!
//! # Feature Gate
//!
//! This module requires the `git` feature and is only available on native
//! platforms (not WASM).

mod commit;
mod rebuild;
mod repo;

pub use commit::{CommitOptions, CommitResult, commit_workspace, compact_workspace};
pub use rebuild::rebuild_crdt_from_git;
pub use repo::{RepoKind, init_repo, open_repo};