Removed some TODO and changer so now it parse all existing file
Before I was parsing all files, getting the max index then parsing from 0 to the max. Byt now that I delete empty files, I need to parse only existing one.
This commit is contained in:
@@ -2,9 +2,6 @@ const std = @import("std");
|
||||
const UUID = @import("uuid.zig").UUID;
|
||||
const DateTime = @import("date.zig").DateTime;
|
||||
|
||||
// FIXME: Stop returning arrayList and use toOwnedSlice instead
|
||||
|
||||
// TODO: Put those functions somewhere else
|
||||
pub fn parseInt(value_str: []const u8) i32 {
|
||||
return std.fmt.parseInt(i32, value_str, 10) catch return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user