/filesystem

Filesystem abstraction. One interface, many implementations.

Primary LanguageGo

One interface, many filesystem implementations.

type FileStore interface {
	Get(ctx context.Context, resourceKey string) (io.ReadCloser, error)
	Put(ctx context.Context, resourceKey string, body io.Reader) error
	Delete(ctx context.Context, resourceKey string) error
}