Versions in this module Expand all Collapse all v0 v0.3.3 Mar 5, 2021 v0.3.2 Mar 4, 2021 Changes in this version + var ErrAlreadyOpened = errors.New("already opened") + var ErrInvalidSeek = errors.New("invalid seek offset") + var ErrNotImplemented = errors.New("not implemented") + var ErrNotSupported = errors.New("s3 doesn't support this operation") + type File struct + func NewFile(fs *Fs, name string) *File + func (f *File) Close() error + func (f *File) Name() string + func (f *File) Read(p []byte) (int, error) + func (f *File) ReadAt(p []byte, off int64) (n int, err error) + func (f *File) Readdir(n int) ([]os.FileInfo, error) + func (f *File) ReaddirAll() ([]os.FileInfo, error) + func (f *File) Readdirnames(n int) ([]string, error) + func (f *File) Seek(offset int64, whence int) (int64, error) + func (f *File) Stat() (os.FileInfo, error) + func (f *File) Sync() error + func (f *File) Truncate(int64) error + func (f *File) Write(p []byte) (int, error) + func (f *File) WriteAt(p []byte, off int64) (n int, err error) + func (f *File) WriteString(s string) (int, error) + type FileInfo struct + func NewFileInfo(name string, directory bool, sizeInBytes int64, modTime time.Time) FileInfo + func (fi FileInfo) IsDir() bool + func (fi FileInfo) ModTime() time.Time + func (fi FileInfo) Mode() os.FileMode + func (fi FileInfo) Name() string + func (fi FileInfo) Size() int64 + func (fi FileInfo) Sys() interface{} + type Fs struct + FileProps *UploadedFileProperties + func NewFs(bucket string, session *session.Session) *Fs + func (Fs) Chown(string, int, int) error + func (Fs) Chtimes(string, time.Time, time.Time) error + func (Fs) Name() string + func (fs *Fs) Open(name string) (afero.File, error) + func (fs *Fs) OpenFile(name string, flag int, _ os.FileMode) (afero.File, error) + func (fs *Fs) RemoveAll(name string) error + func (fs Fs) Chmod(name string, mode os.FileMode) error + func (fs Fs) Create(name string) (afero.File, error) + func (fs Fs) Mkdir(name string, perm os.FileMode) error + func (fs Fs) MkdirAll(path string, perm os.FileMode) error + func (fs Fs) Remove(name string) error + func (fs Fs) Rename(oldname, newname string) error + func (fs Fs) Stat(name string) (os.FileInfo, error) + type UploadedFileProperties struct + ACL *string + CacheControl *string + ContentType *string