Versions in this module Expand all Collapse all v0 v0.0.1 Jun 4, 2024 Changes in this version + var ErrAlreadyExists = errors.New("document already exists") + var ErrNotExists = errors.New("document does not exist") + var URIRootError = repository.ErrURIRoot + func CanList(u fyne.URI) (bool, error) + func CanRead(u fyne.URI) (bool, error) + func CanWrite(u fyne.URI) (bool, error) + func Child(u fyne.URI, component string) (fyne.URI, error) + func Copy(source fyne.URI, destination fyne.URI) error + func CreateListable(u fyne.URI) error + func Delete(u fyne.URI) error + func Exists(u fyne.URI) (bool, error) + func List(u fyne.URI) ([]fyne.URI, error) + func ListerForURI(uri fyne.URI) (fyne.ListableURI, error) + func LoadResourceFromURI(u fyne.URI) (fyne.Resource, error) + func Move(source fyne.URI, destination fyne.URI) error + func NewFileURI(path string) fyne.URI + func NewURI(s string) fyne.URI + func OpenFileFromURI(uri fyne.URI) (fyne.URIReadCloser, error) + func Parent(u fyne.URI) (fyne.URI, error) + func ParseURI(s string) (fyne.URI, error) + func Reader(u fyne.URI) (fyne.URIReadCloser, error) + func SaveFileToURI(uri fyne.URI) (fyne.URIWriteCloser, error) + func Writer(u fyne.URI) (fyne.URIWriteCloser, error) + type ExtensionFileFilter struct + Extensions []string + func (e *ExtensionFileFilter) Matches(uri fyne.URI) bool + type FileFilter interface + Matches func(fyne.URI) bool + func NewExtensionFileFilter(extensions []string) FileFilter + func NewMimeTypeFileFilter(mimeTypes []string) FileFilter + type MimeTypeFileFilter struct + MimeTypes []string + func (mt *MimeTypeFileFilter) Matches(uri fyne.URI) bool