Documentation
¶
Index ¶
- type OssFile
- func (f *OssFile) Close() error
- func (f *OssFile) Name() string
- func (f *OssFile) Readdir(count int) ([]os.FileInfo, error)
- func (f *OssFile) Readdirnames(n int) ([]string, error)
- func (f *OssFile) Sync() error
- func (f *OssFile) Write(p []byte) (n int, err error)
- func (f *OssFile) WriteAt(p []byte, off int64) (n int, err error)
- func (f *OssFile) WriteString(s string) (ret int, err error)
- type OssFileInfo
- type OssFs
- func (fs *OssFs) Chmod(name string, mode os.FileMode) error
- func (fs *OssFs) Chown(name string, uid, gid int) error
- func (fs *OssFs) Chtimes(name string, atime time.Time, mtime time.Time) error
- func (fs *OssFs) Create(name string) (afero.File, error)
- func (fs *OssFs) Mkdir(name string, perm os.FileMode) error
- func (fs *OssFs) MkdirAll(name string, perm os.FileMode) error
- func (fs *OssFs) Name() string
- func (fs *OssFs) Open(name string) (afero.File, error)
- func (fs *OssFs) OpenFile(name string, flag int, perm os.FileMode) (afero.File, error)
- func (fs *OssFs) Remove(name string) error
- func (fs *OssFs) RemoveAll(path string) error
- func (fs *OssFs) Rename(oldname, newname string) error
- func (fs *OssFs) Stat(name string) (os.FileInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OssFile ¶
type OssFile struct {
*os.File // The temporary local file
// contains filtered or unexported fields
}
func NewOssFile ¶
func (*OssFile) Readdirnames ¶
Readdirnames reads the directory
type OssFileInfo ¶
type OssFileInfo struct {
// contains filtered or unexported fields
}
func (*OssFileInfo) IsDir ¶
func (fi *OssFileInfo) IsDir() bool
func (*OssFileInfo) ModTime ¶
func (fi *OssFileInfo) ModTime() time.Time
func (*OssFileInfo) Mode ¶
func (fi *OssFileInfo) Mode() os.FileMode
func (*OssFileInfo) Name ¶
func (fi *OssFileInfo) Name() string
func (*OssFileInfo) Size ¶
func (fi *OssFileInfo) Size() int64
func (*OssFileInfo) Sys ¶
func (fi *OssFileInfo) Sys() interface{}
Click to show internal directories.
Click to hide internal directories.