Versions in this module Expand all Collapse all v0 v0.1.1 Jul 26, 2024 Changes in this version + var ErrOperationNotSupported = errors.New("operation not supported for this URI") + var ErrURIRoot = errors.New("cannot take the parent of the root element in a URI") + func GenericChild(u fyne.URI, component string) (fyne.URI, error) + func GenericCopy(source fyne.URI, destination fyne.URI) error + func GenericMove(source fyne.URI, destination fyne.URI) error + func GenericParent(u fyne.URI) (fyne.URI, error) + func NewFileURI(path string) fyne.URI + func ParseURI(s string) (fyne.URI, error) + func Register(scheme string, repository Repository) + type CopyableRepository interface + Copy func(fyne.URI, fyne.URI) error + type CustomURIRepository interface + ParseURI func(string) (fyne.URI, error) + type HierarchicalRepository interface + Child func(fyne.URI, string) (fyne.URI, error) + Parent func(fyne.URI) (fyne.URI, error) + type ListableRepository interface + CanList func(u fyne.URI) (bool, error) + CreateListable func(u fyne.URI) error + List func(u fyne.URI) ([]fyne.URI, error) + type MovableRepository interface + Move func(fyne.URI, fyne.URI) error + type Repository interface + CanRead func(u fyne.URI) (bool, error) + Destroy func(string) + Exists func(u fyne.URI) (bool, error) + Reader func(u fyne.URI) (fyne.URIReadCloser, error) + func ForScheme(scheme string) (Repository, error) + func ForURI(u fyne.URI) (Repository, error) + type WritableRepository interface + CanWrite func(u fyne.URI) (bool, error) + Delete func(u fyne.URI) error + Writer func(u fyne.URI) (fyne.URIWriteCloser, error)