| 28 | var invalidFilenamePattern = regexp.MustCompile(`[\\/*?:"<>|]+`) |
| 29 | |
| 30 | type 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 | |
| 38 | type Attachment struct { |
| 39 | Filename string |
no outgoing calls
no test coverage detected