You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Summary
Simplifies FileSystem generic signature and remove unnecessary driver property.
Simplifies Driver types, make them non-generic. Drivers that need typed fileTypes can cast to that type.
Re-exports commonly used mutative helpers for use with integrations (applyPatch, createPatch).
Implement createPatch via mutative's makeCreator, allowing FileSystem.write() callbacks to return whole file data.
Removes DriverProps.fileTree constructor argument to allow creating Repository.fs after driver. Replaces wonky FileSystem factory with a standard constructor.