531 B
531 B
Ghee Design Principles
- Folders are tables
- Files are records
- Relative paths are primary keys
- Extended attributes are non-primary-key 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