Documentation ¶
Overview ¶
Package s3fs provides a S3 implementation for Go1.16 filesystem interface.
Index ¶
- type S3FS
- func (f *S3FS) MkdirAll(path string, perm os.FileMode) error
- func (f *S3FS) Open(name string) (fs.File, error)
- func (f *S3FS) ReadDir(name string) ([]fs.DirEntry, error)
- func (f *S3FS) Rename(oldpath, newpath string) error
- func (f *S3FS) Stat(name string) (fs.FileInfo, error)
- func (f *S3FS) WriteFile(filename string, data []byte, perm fs.FileMode) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3FS ¶
type S3FS struct {
// contains filtered or unexported fields
}
S3FS is a S3 filesystem implementation.
S3 has a flat structure instead of a hierarchy. S3FS simulates directories by using prefixes and delims ("/"). Because directories are simulated, ModTime is always a default Time value (IsZero returns true).
Click to show internal directories.
Click to hide internal directories.