# Packages
Package repository provides primitives for working with storage repositories.
# Functions
Appender returns URIWriteCloser set up to write to the resource that the URI references without truncating it first
Writing to a non-extant resource should create that resource if possible (and if not possible, this should be reflected in the return of CanWrite()).
CanList will determine if the URI is listable or not.
CanRead determines if a given URI could be written to using the Reader() method.
CanWrite is backed by the repository system - this function calls into a scheme-specific implementation from a registered repository.
Child returns a URI referencing a resource nested hierarchically below the given URI, identified by a string.
Copy given two URIs, 'src', and 'dest' both of the same scheme, will copy one to the other.
CreateListable creates a new listable resource referenced by the given URI.
Delete destroys, deletes, or otherwise removes the resource referenced by the URI.
EqualURI returns true if the two URIs are equal.
Exists determines if the resource referenced by the URI exists.
List returns a list of URIs that reference resources which are nested below the resource referenced by the argument.
ListerForURI will attempt to use the application's driver to convert a standard URI into a listable URI.
LoadResourceFromURI creates a new StaticResource in memory using the contents of the specified URI.
Move returns a method that given two URIs, 'src' and 'dest' both of the same scheme this will move src to dest.
NewExtensionFileFilter takes a string slice of extensions with a leading .
NewFileURI creates a new URI from the given file path.
NewMimeTypeFileFilter takes a string slice of mimetypes, including globs, and creates a filter for the file dialog.
NewURI creates a new URI from the given string representation.
OpenFileFromURI loads a file read stream from a resource identifier.
Parent returns a URI referencing the parent resource of the resource referenced by the URI.
ParseURI creates a new URI instance by parsing a URI string.
Reader returns URIReadCloser set up to read from the resource that the URI references.
SaveFileToURI loads a file write stream to a resource identifier.
Writer returns URIWriteCloser set up to write to the resource that the URI references.
# Variables
ErrAlreadyExists may be thrown by docs.
ErrNotExists may be thrown by docs.
URIRootError is a wrapper for repository.URIRootError
Deprecated - use repository.ErrURIRoot instead.
# Structs
ExtensionFileFilter represents a file filter based on the ending of file names, for example ".txt" and ".png".
MimeTypeFileFilter represents a file filter based on the files mime type, for example "image/*", "audio/mp3".
# Interfaces
FileFilter is an interface that can be implemented to provide a filter to a file dialog.