Documentation ¶
Index ¶
- type FileInfo
- type FolderInfo
- type ReadOnlyFile
- type ReadOnlyFolder
- type ReadOnlyFs
- type ReadOnlyItem
- func (m *ReadOnlyItem) Close() error
- func (m *ReadOnlyItem) Sync() error
- func (m *ReadOnlyItem) Truncate(size int64) error
- func (m *ReadOnlyItem) Write(p []byte) (n int, err error)
- func (m *ReadOnlyItem) WriteAt(p []byte, off int64) (n int, err error)
- func (m *ReadOnlyItem) WriteString(s string) (ret int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileInfo ¶
type FileInfo struct { }
type FolderInfo ¶
type FolderInfo struct {
FileInfo
}
type ReadOnlyFile ¶
type ReadOnlyFile struct {
ReadOnlyItem
}
func (*ReadOnlyFile) Readdirnames ¶
func (m *ReadOnlyFile) Readdirnames(n int) ([]string, error)
type ReadOnlyFolder ¶
type ReadOnlyFolder struct {
ReadOnlyItem
}
type ReadOnlyFs ¶
type ReadOnlyFs struct {
afero.ReadOnlyFs
}
type ReadOnlyItem ¶
type ReadOnlyItem struct{}
func (*ReadOnlyItem) Close ¶
func (m *ReadOnlyItem) Close() error
func (*ReadOnlyItem) Sync ¶
func (m *ReadOnlyItem) Sync() error
func (*ReadOnlyItem) Truncate ¶
func (m *ReadOnlyItem) Truncate(size int64) error
func (*ReadOnlyItem) WriteAt ¶
func (m *ReadOnlyItem) WriteAt(p []byte, off int64) (n int, err error)
func (*ReadOnlyItem) WriteString ¶
func (m *ReadOnlyItem) WriteString(s string) (ret int, err error)
Click to show internal directories.
Click to hide internal directories.