internal/

directory
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package agenthooks detects which AI agent platforms a user works with and registers BearDrive's sync hooks in each platform's own hook config, so files sync at turn boundaries no matter which agent edits them.
Package agenthooks detects which AI agent platforms a user works with and registers BearDrive's sync hooks in each platform's own hook config, so files sync at turn boundaries no matter which agent edits them.
Package autostart registers beardrive to start syncing again when the user logs in, so a reboot doesn't silently stop sync.
Package autostart registers beardrive to start syncing again when the user logs in, so a reboot doesn't silently stop sync.
Package config manages beardrive's global state under the beardrive home directory (default ~/.bdrive, overridable with $BDRIVE_HOME): the device identity and the registry of mounted folders.
Package config manages beardrive's global state under the beardrive home directory (default ~/.bdrive, overridable with $BDRIVE_HOME): the device identity and the registry of mounted folders.
Package daemon runs the per-mount background sync loop and manages its lifecycle (detached start, pidfile, graceful stop).
Package daemon runs the per-mount background sync loop and manages its lifecycle (detached start, pidfile, graceful stop).
Package journal implements beardrive's append-only operation log.
Package journal implements beardrive's append-only operation log.
Package remote abstracts the cloud object store a volume syncs through.
Package remote abstracts the cloud object store a volume syncs through.
Package store manages a volume's local on-disk state: a content-addressed blob store, the per-device journals, and small JSON state files.
Package store manages a volume's local on-disk state: a content-addressed blob store, the per-device journals, and small JSON state files.
Package syncer drives a volume's sync cycle:
Package syncer drives a volume's sync cycle:
Package webapp serves the bdrive web server: a browsable web view of synced files (file tree reconstructed from the journals, rendered markdown, downloads), browser uploads, and — in hub mode — the sync API that lets storage-blind client devices sync whole projects through this server.
Package webapp serves the bdrive web server: a browsable web view of synced files (file tree reconstructed from the journals, rendered markdown, downloads), browser uploads, and — in hub mode — the sync API that lets storage-blind client devices sync whole projects through this server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL