Skip to main content

Crate meta_core

Crate meta_core 

Source
Expand description

meta_core — Shared infrastructure for ~/.meta/ directory management.

Provides:

  • data_dir — Locate and create the ~/.meta/ data directory and namespaced files
  • lock — File-based locking with PID staleness detection and retry
  • store — Atomic JSON read/write with lock-protected updates

Modules§

config
Shared configuration types and parsing for .meta files.
data_dir
~/.meta/ directory management.
lock
File-based locking with PID staleness detection and retry.
store
Atomic JSON store read/write with lock-protected updates.

Functions§

meta_dir
Get the meta data directory path. Respects META_DATA_DIR env var, otherwise defaults to ~/.meta/.