Skip to main content

Crate darn_core

Crate darn_core 

Source
Expand description

§darn_core

Core library for managing collaborative directories using Automerge and Subduction.

This crate provides the fundamental types and operations for:

  • Workspace management (.darn/ directory)
  • File-to-Automerge document mapping
  • Signer and peer ID management
  • Change tracking and history

Modules§

config
Global configuration for darn.
darn
Darn workspace management.
directory
Directory documents for syncing file paths between replicas.
discover
Parallel file discovery.
file
Files as Automerge documents.
ignore
Ignore patterns for darn workspaces.
manifest
Manifest for tracking files in a darn workspace.
path
Path utilities.
peer
Peer configuration for sync.
refresh
Refresh error types and Automerge content update helpers.
sedimentree
Helper functions for sedimentree storage operations via Subduction.
serde_base58
Serde helpers for base58-encoding 32-byte values.
signer
Signer management for darn.
subduction
Subduction instance management for darn workspaces.
sync_progress
Progress tracking for sync operations.
unix_timestamp
Unix timestamp utilities.
watcher
Filesystem watcher for automatic file tracking and sync.
workspace
Workspace layout and atomic tree management.