| ... | @@ -116,7 +116,6 @@ pub fn getObject(alloc: std.mem.Allocator, dir: std.fs.Dir, obj: Id) !string { | ... | @@ -116,7 +116,6 @@ pub fn getObject(alloc: std.mem.Allocator, dir: std.fs.Dir, obj: Id) !string { |
| 116 | } | 116 | } |
| 117 | | 117 | |
| 118 | // TODO make this inspect .git/objects manually | 118 | // TODO make this inspect .git/objects manually |
| 119 | // TODO make this return a Reader when we implement it ourselves | | |
| 120 | // https://git-scm.com/book/en/v2/Git-Internals-Git-Objects | 119 | // https://git-scm.com/book/en/v2/Git-Internals-Git-Objects |
| 121 | // https://git-scm.com/book/en/v2/Git-Internals-Packfiles | 120 | // https://git-scm.com/book/en/v2/Git-Internals-Packfiles |
| 122 | pub fn getObjectSize(alloc: std.mem.Allocator, dir: std.fs.Dir, obj: Id) !u64 { | 121 | pub fn getObjectSize(alloc: std.mem.Allocator, dir: std.fs.Dir, obj: Id) !u64 { |
| ... | @@ -167,7 +166,6 @@ pub fn getType(alloc: std.mem.Allocator, dir: std.fs.Dir, obj: Id) !Tree.Object. | ... | @@ -167,7 +166,6 @@ pub fn getType(alloc: std.mem.Allocator, dir: std.fs.Dir, obj: Id) !Tree.Object. |
| 167 | } | 166 | } |
| 168 | | 167 | |
| 169 | // TODO make this inspect .git/objects manually | 168 | // TODO make this inspect .git/objects manually |
| 170 | // TODO make this return a Reader when we implement it ourselves | | |
| 171 | // TODO make a version of this that accepts an array of sub_paths and searches all of them at once, so as to not lose spot in history when searching for many old paths | 169 | // TODO make a version of this that accepts an array of sub_paths and searches all of them at once, so as to not lose spot in history when searching for many old paths |
| 172 | // https://git-scm.com/book/en/v2/Git-Internals-Git-Objects | 170 | // https://git-scm.com/book/en/v2/Git-Internals-Git-Objects |
| 173 | // https://git-scm.com/book/en/v2/Git-Internals-Packfiles | 171 | // https://git-scm.com/book/en/v2/Git-Internals-Packfiles |