mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
fix: keep ext name when file was missing mime type
This commit is contained in:
@@ -24,3 +24,9 @@ type Provider interface {
|
||||
type ContainerFileOpener interface {
|
||||
OpenContainerFile(botID, containerPath string) (io.ReadCloser, error)
|
||||
}
|
||||
|
||||
// PrefixLister is an optional interface for providers that can list keys
|
||||
// sharing a common prefix (e.g. directory listing on a filesystem backend).
|
||||
type PrefixLister interface {
|
||||
ListPrefix(ctx context.Context, prefix string) ([]string, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user