authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-03-14 13:39:16 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-03-14 13:39:16 -07:00
logb5407960b0d512153e39e00af3a5a063977be944
tree3a316ec0eac2a7d41503042cfdc57a3ea93fca86
parent686b598e608c15fe86f871113c0fd7f47fab9d26
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

rename getObject -> getObjectContent


1 files changed, 1 insertions(+), 1 deletions(-)

git.zig+1-1
...@@ -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 ourselves106// TODO make this return a Reader when we implement it ourselves
107// https://git-scm.com/book/en/v2/Git-Internals-Git-Objects107// https://git-scm.com/book/en/v2/Git-Internals-Git-Objects
108// https://git-scm.com/book/en/v2/Git-Internals-Packfiles108// https://git-scm.com/book/en/v2/Git-Internals-Packfiles
109pub fn getObject(alloc: std.mem.Allocator, dir: nfs.Dir, obj: Id) !string {109pub 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();
112112