]> gitweb.ps.run Git - ziggit/commitdiff
Konstante für buffer größe
authorpatrick-scho <patrick.schoenberger@posteo.de>
Sat, 10 Aug 2024 14:44:14 +0000 (16:44 +0200)
committerpatrick-scho <patrick.schoenberger@posteo.de>
Sat, 10 Aug 2024 14:44:14 +0000 (16:44 +0200)
git.zig

diff --git a/git.zig b/git.zig
index 01518c97d80837c7d7e4bc8326a46ad7972709af..7dd1d961a95d8029fbdb6a17284e6c8f14a2a9d3 100644 (file)
--- a/git.zig
+++ b/git.zig
@@ -4,6 +4,8 @@ const Alloc = std.mem.Allocator;
 const Reader = std.io.AnyReader;
 const Writer = std.io.AnyWriter;
 
+const MaxFileSize = 1024 * 1024;
+
 const Id = u160;
 const Commit = struct {
     author: []u8,