hunk: define hunk types that operate on files
Dependencies
- [2]
ZKAOPMCHchange: Implement decoding of edits, atoms, positions, among others - [*]
JAGXXSR7change: initial work on decoding hunks - [*]
2U7P5SFQChange struct names "struct foo -> typedef struct Foo"
Change contents
- edit in hunk.h at line 26[5.169][5.169]
Atom del;Atom add; - edit in hunk.h at line 30[5.192][4.1000]
typedef struct {Atom del;Atom contents; /* FIXME Option<Atom> */str path;str encoding;} Filedel; - edit in hunk.h at line 39[5.210][2.373]
Atom undel;Atom contents; /* FIXME Option<Atom> */str path;str encoding;} Fileundel;typedef struct {Atom addname;Atom addinode;Atom contents; /* FIXME Option<Atom> */str path;str encoding;} Fileadd;typedef struct { - edit in hunk.h at line 70[5.331][5.331]
Filedel filedel;Fileundel fileundel;Fileadd fileadd;