Upgrade to v2.5
Fyne API v2.5
app
canvas
container
data/binding
data/validation
dialog
driver
driver/desktop
driver/mobile
driver/software
lang
layout
storage
storage/repository
package repository
CopyableRepository
CustomURIRepository
HierarchicalRepository
ListableRepository
MovableRepository
Repository
WritableRepository
test
theme
widget
Fyne API "repository.HierarchicalRepository"
repository.HierarchicalRepository
import "fyne.io/fyne/v2/storage/repository"
Usage
type HierarchicalRepository
type HierarchicalRepository interface {
Repository
// Parent will be used to implement calls to storage.Parent() for the
// registered scheme of this repository.
//
// A generic implementation is provided in GenericParent(), which
// is based on the RFC3986 definition of a URI parent.
//
// Since: 2.0
Parent(fyne.URI) (fyne.URI, error)
// Child will be used to implement calls to storage.Child() for
// the registered scheme of this repository.
//
// A generic implementation is provided in GenericParent(), which
// is based on RFC3986.
//
// Since: 2.0
Child(fyne.URI, string) (fyne.URI, error)
}
HierarchicalRepository is an extension of the Repository interface which also supports determining the parent and child items of a URI.
Since:
2.0