added experimental backup optimizations

This commit is contained in:
Gani Georgiev committed 2026-08-21 18:50:16 +03:00
1 parent 25dc8a8eea
commit 0e9dcfe1ab
10 files changed
+696 -245

No files matched your search

+13
View File
@@ -1262,6 +1262,19 @@ type App interface {
// triggered and called only if their event data origin matches the tags.
OnMailerRecordOTPSend(tags ...string) *hook.TaggedHook[*MailerRecordEvent]
// ---------------------------------------------------------------
// Filesystem event hooks
// ---------------------------------------------------------------
// OnFilesystemNewWriter is a low level hook for app.NewFilesystem()
// instances that is triggered on every storage filesystem writer initialization
// (aka. whenever attempting to create a new file).
OnFilesystemNewWriter() *hook.Hook[*FilesystemNewWriterEvent]
// OnFilesystemDelete is a low level hook for app.NewFilesystem()
// instances that is triggered for every storage file delete call.
OnFilesystemDelete() *hook.Hook[*FilesystemDeleteEvent]
// ---------------------------------------------------------------
// Realtime API event hooks
// ---------------------------------------------------------------