On this page
fyne.Cache
import "fyne.io/fyne/v2"
Usage
type Cache
type Cache interface {
RootURI() URI
Exists(name string) bool
Read(name string) (io.ReadCloser, error)
Write(name string) (io.WriteCloser, error)
Remove(name string) error
}
Cache is used to manage cache storage inside an application sandbox. The files managed by this interface are unique to the current application and may be deleted by the operating system to clear space
Since:
2.8