| ... | @@ -106,7 +106,7 @@ pub fn ensureObjId(comptime T: type, input: string) T { | ... | @@ -106,7 +106,7 @@ pub fn ensureObjId(comptime T: type, input: string) T { |
| 106 | // TODO make this return a Reader when we implement it ourselves | 106 | // TODO make this return a Reader when we implement it ourselves |
| 107 | // https://git-scm.com/book/en/v2/Git-Internals-Git-Objects | 107 | // https://git-scm.com/book/en/v2/Git-Internals-Git-Objects |
| 108 | // https://git-scm.com/book/en/v2/Git-Internals-Packfiles | 108 | // https://git-scm.com/book/en/v2/Git-Internals-Packfiles |
| 109 | pub fn getObject(alloc: std.mem.Allocator, dir: nfs.Dir, obj: Id) !string { | 109 | pub fn getObjectContent(alloc: std.mem.Allocator, dir: nfs.Dir, obj: Id) !string { |
| 110 | const t = tracer.trace(@src(), " {s}", .{obj}); | 110 | const t = tracer.trace(@src(), " {s}", .{obj}); |
| 111 | defer t.end(); | 111 | defer t.end(); |
| 112 | | 112 | |