MCPcopy Create free account
hub / github.com/MMadmer/EpicAssetsNotifyBot / Store

Interface Store

internal/discord/runtime.go:30–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28var invalidFilenamePattern = regexp.MustCompile(`[\\/*?:"<>|]+`)
29
30type Store interface {
31 Initialize(ctx context.Context) error
32 Close() error
33 LoadSnapshot(ctx context.Context) (model.Snapshot, error)
34 LoadLegacyChannelSubscriptions(ctx context.Context) ([]model.ChannelSubscription, error)
35 SaveSnapshot(ctx context.Context, snapshot model.Snapshot) error
36}
37
38type Attachment struct {
39 Filename string

Callers 25

RunMethod · 0.65
InitializeMethod · 0.65
mainFunction · 0.65
RunMethod · 0.65
downloadAttachmentMethod · 0.65
FetchMethod · 0.65
CloseMethod · 0.65
resetLockedMethod · 0.65
FetchMethod · 0.65
CloseMethod · 0.65
CloseMethod · 0.65
RunMethod · 0.65

Implementers 2

Storeinternal/store/sqlite/store.go
sqliteAdapterinternal/app/bootstrap.go

Calls

no outgoing calls

Tested by

no test coverage detected