576 B
576 B
Ghee Design Principles
- Folders are tables
- Files are records
- Relative paths are primary keys
- Extended attributes are table columns
- Enforce schema only when present
- The file contents and xattrs without the
user.ghee
prefix are user-controlled; only directory structure, filenames, and extended attributes inuser.ghee
are used by Ghee - Use of filesystem features should be preferred over implementing features directly in Ghee, e.g. locking, Btrfs subvolumes, snapshots, incremental backup
- Indexes are just tables with a different primary key