jax_daemon/fuse/sync_events.rs
1//! Sync event types for FUSE cache invalidation
2//!
3//! These events are emitted by the sync worker when bucket state changes,
4//! allowing FUSE filesystems to invalidate their caches.
5
6use uuid::Uuid;
7
8/// Events emitted by the sync engine for FUSE integration
9#[derive(Debug, Clone)]
10pub enum SyncEvent {
11 /// A bucket's state has been updated (new manifest synced)
12 BucketUpdated { bucket_id: Uuid },
13
14 /// A specific mount should invalidate its cache
15 MountInvalidated { mount_id: Uuid },
16}