You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To allow streaming reading of larger blobs, implement the fs.FS interface in all backends.
For convenience, also provide a fallback implementation that simply uses the existing Interface to load the data.
To retrieve the FS interface for a backend, a program would call this convenience method:
// AsFS returns an fs.FS implementation for the given storage backend.// If the storage backend implements fs.FS, that is returned. If it does not, a generic implementation// that implements it using Interface is returned instead.funcAsFS(stInterface) fs.FS
The text was updated successfully, but these errors were encountered:
To allow streaming reading of larger blobs, implement the fs.FS interface in all backends.
For convenience, also provide a fallback implementation that simply uses the existing Interface to load the data.
To retrieve the FS interface for a backend, a program would call this convenience method:
The text was updated successfully, but these errors were encountered: