adam-gui/vendor/fyne.io/fyne/v2/storage.go
2024-04-29 19:13:50 +02:00

15 lines
383 B
Go

package fyne
// Storage is used to manage file storage inside an application sandbox.
// The files managed by this interface are unique to the current application.
type Storage interface {
RootURI() URI
Create(name string) (URIWriteCloser, error)
Open(name string) (URIReadCloser, error)
Save(name string) (URIWriteCloser, error)
Remove(name string) error
List() []string
}