mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-30 11:03:55 +00:00
implement sentry transport to write crash reports to XDG_STATE_HOME
This commit is contained in:
@@ -6,6 +6,10 @@ const c = @import("c.zig").c;
|
||||
pub const UUID = struct {
|
||||
value: c.sentry_uuid_t,
|
||||
|
||||
pub fn init() UUID {
|
||||
return .{ .value = c.sentry_uuid_new_v4() };
|
||||
}
|
||||
|
||||
pub fn isNil(self: UUID) bool {
|
||||
return c.sentry_uuid_is_nil(&self.value) != 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user