Documentation ¶
Index ¶
- func NewSubFS(fsys FSRW, dir string) *subFS
- type FS
- func (fsys *FS) ClearUnlocked() error
- func (fsys *FS) Close() error
- func (fsys *FS) Create(path string) (FileW, error)
- func (fsys *FS) MkDir(path string) error
- func (fsys *FS) Open(name string) (fs.File, error)
- func (fsys *FS) ReadDir(name string) ([]fs.DirEntry, error)
- func (fsys *FS) ReadFile(name string) ([]byte, error)
- func (fsys *FS) Stat(name string) (fs.FileInfo, error)
- func (fsys *FS) Sub(dir string) (FSRW, error)
- type FSRW
- type FSRWClose
- type File
- type FileW
- type Mutex
- type ZIPFS
- type ZIPFSDirEntry
- type ZIPFSFileInfoDir
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FSRW ¶
func NewDummyOSRW ¶
type File ¶
type File struct { io.ReadCloser // contains filtered or unexported fields }
type FileW ¶
type FileW interface { io.WriteCloser }
type ZIPFSDirEntry ¶
type ZIPFSDirEntry struct {
// contains filtered or unexported fields
}
func NewZIPFSDirEntry ¶
func NewZIPFSDirEntry(info fs.FileInfo) *ZIPFSDirEntry
func (*ZIPFSDirEntry) IsDir ¶
func (zfsde *ZIPFSDirEntry) IsDir() bool
func (*ZIPFSDirEntry) Name ¶
func (zfsde *ZIPFSDirEntry) Name() string
func (*ZIPFSDirEntry) Type ¶
func (zfsde *ZIPFSDirEntry) Type() fs.FileMode
type ZIPFSFileInfoDir ¶
type ZIPFSFileInfoDir struct {
// contains filtered or unexported fields
}
func NewZIPFSFileInfoDir ¶
func NewZIPFSFileInfoDir(name string) *ZIPFSFileInfoDir
func (*ZIPFSFileInfoDir) IsDir ¶
func (zfsfid *ZIPFSFileInfoDir) IsDir() bool
func (*ZIPFSFileInfoDir) ModTime ¶
func (zfsfid *ZIPFSFileInfoDir) ModTime() time.Time
func (*ZIPFSFileInfoDir) Mode ¶
func (zfsfid *ZIPFSFileInfoDir) Mode() fs.FileMode
func (*ZIPFSFileInfoDir) Name ¶
func (zfsfid *ZIPFSFileInfoDir) Name() string
func (*ZIPFSFileInfoDir) Size ¶
func (zfsfid *ZIPFSFileInfoDir) Size() int64
func (*ZIPFSFileInfoDir) Sys ¶
func (zfsfid *ZIPFSFileInfoDir) Sys() any
Click to show internal directories.
Click to hide internal directories.