crash: add directory listing, allocation free

This commit is contained in:
Mitchell Hashimoto
2024-09-10 21:14:55 -07:00
parent 1a6c928951
commit 4e16624676
3 changed files with 74 additions and 45 deletions

View File

@@ -2,10 +2,15 @@
//! whether that's setting up the system to catch crashes (Sentry client),
//! introspecting crash reports, writing crash reports to disk, etc.
const dir = @import("dir.zig");
const sentry_envelope = @import("sentry_envelope.zig");
pub const sentry = @import("sentry.zig");
pub const Envelope = sentry_envelope.Envelope;
pub const defaultDir = dir.defaultDir;
pub const Dir = dir.Dir;
pub const ReportIterator = dir.ReportIterator;
pub const Report = dir.Report;
// The main init/deinit functions for global state.
pub const init = sentry.init;