Versions in this module Expand all Collapse all v1 v1.0.0 Jul 21, 2021 Changes in this version + type File struct + func (h *File) Close() error + func (h *File) Read(p []byte) (int, error) + func (h *File) ReadAt(p []byte, offset int64) (int, error) + func (h *File) Seek(offset int64, whence int) (int64, error) + func (h *File) Stat() (fs.FileInfo, error) + func (h *File) Sync() error + func (h *File) Truncate(size int64) error + func (h *File) Write(p []byte) (int, error) + func (h *File) WriteAt(p []byte, offset int64) (int, error) + type FileSystem struct + Files map[int64]*File + func New(ctx context.Context, c grpc.ClientConnInterface) *FileSystem + func (f *FileSystem) Create(name string) (*File, error) + func (f *FileSystem) Open(name string) (fs.File, error) + func (f *FileSystem) OpenFile(name string, flags int, perm fs.FileMode) (*File, error) + func (f *FileSystem) ReadDir(name string) ([]fs.DirEntry, error) + func (f *FileSystem) Rename(oldName, newName string) error + func (f *FileSystem) Stat(name string) (fs.FileInfo, error) + func (f *FileSystem) Truncate(name string, size int64) error