Expand description
Content type system — extends Lit from SWE-only VCS to a universal versioning system for CAD, EDA, manuscripts, databases, scientific data, media assets, and arbitrary domain content.
Each content type carries diff/merge strategy hints, metadata schemas, and size/storage policies so that Lit can handle domain-specific files without requiring external plugins.
Structs§
- Content
Type - A registered content type with domain-specific handling policies
Enums§
- Content
Domain - Domain classification
- Diff
Strategy - How a content type should be diffed
- Merge
Strategy - How a content type should be merged
- Storage
Tier - Storage tier hint
Functions§
- detect
- Detect content type for a file by extension, then magic bytes
- execute_
detect - Detect the content type(s) of one or more files
- execute_
list - List all registered content types, optionally filtered by domain
- execute_
register - Register a custom content type
- execute_
show - Show a specific content type