Versions in this module Expand all Collapse all v1 v1.48.1 Aug 21, 2019 Changes in this version + var MemoryFs memoryFs + func NewStaticObjectInfo(remote string, modTime time.Time, size int64, storable bool, ...) fs.ObjectInfo + type MemoryObject struct + func NewMemoryObject(remote string, modTime time.Time, content []byte) *MemoryObject + func (o *MemoryObject) Content() []byte + func (o *MemoryObject) Fs() fs.Info + func (o *MemoryObject) Hash(h hash.Type) (string, error) + func (o *MemoryObject) ModTime() time.Time + func (o *MemoryObject) Open(options ...fs.OpenOption) (io.ReadCloser, error) + func (o *MemoryObject) Remote() string + func (o *MemoryObject) Remove() error + func (o *MemoryObject) SetModTime(modTime time.Time) error + func (o *MemoryObject) Size() int64 + func (o *MemoryObject) Storable() bool + func (o *MemoryObject) String() string + func (o *MemoryObject) Update(in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption) (err error)