Documentation ¶ Index ¶ type FS func New(s cadata.Getter, root glfs.Ref) *FS func (s *FS) Open(p string) (fs.File, error) type File func (f *File) Close() error func (f *File) Read(buf []byte) (int, error) func (f *File) ReadDir(n int) ([]fs.DirEntry, error) func (f *File) Seek(offset int64, whence int) (int64, error) func (f *File) Stat() (fs.FileInfo, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type FS ¶ type FS struct { // contains filtered or unexported fields } func New ¶ func New(s cadata.Getter, root glfs.Ref) *FS func (*FS) Open ¶ func (s *FS) Open(p string) (fs.File, error) type File ¶ type File struct { // contains filtered or unexported fields } func (*File) Close ¶ func (f *File) Close() error func (*File) Read ¶ func (f *File) Read(buf []byte) (int, error) func (*File) ReadDir ¶ func (f *File) ReadDir(n int) ([]fs.DirEntry, error) func (*File) Seek ¶ func (f *File) Seek(offset int64, whence int) (int64, error) func (*File) Stat ¶ func (f *File) Stat() (fs.FileInfo, error) Source Files ¶ View all Source files iofs.go Click to show internal directories. Click to hide internal directories.