Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Latest commit

 

History

History
34 lines (25 loc) · 580 Bytes

storage.md

File metadata and controls

34 lines (25 loc) · 580 Bytes
redirect_to layout tags title
page
api
Fyne API "fyne.Storage"

fyne.Storage


import "fyne.io/fyne/v2"

Usage

type Storage

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
}

Storage is used to manage file storage inside an application sandbox. The files managed by this interface are unique to the current application.