-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Summary
Replace the shell-out content-on-node implementation (execFileSync to git hash-object / git cat-file) with git-warp's native content API (patch.attachContent(), graph.getContent(), graph.getContentOid()).
Motivation
- git-warp v11.5.0 ships a native content API with GC protection, async persistence, and no subprocess overhead
- The current
src/content.jsshells out to git directly — redundant plumbing - Clean break, major version bump to 4.0.0
Property Key Change
| Old | New |
|---|---|
_content.sha (string OID) |
_content (WARP's CONTENT_PROPERTY_KEY) |
_content.mime |
unchanged |
_content.size |
unchanged |
What Gets Removed
execFileSynccalls in content.jsPREFIX,KEYS,SHA_RE,assertValidSha()helpers- Integrity re-hash in
readContent()(git CAS guarantees integrity) cwdparameter onwriteContentandreadContent
Files Modified
src/content.js— rewrite internalssrc/cli/commands.js— dropcwdfrom 2 call sitestest/content.test.js— update calls and property keys, remove integrity testpackage.json— bump to 4.0.0ROADMAP.md— update property reference
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels