Documentation ¶
Overview ¶
Package s3 contains an example S3 file system.
Index ¶
- type FS
- func (fs *FS) Chmod(name string, mode hackpadfs.FileMode) error
- func (fs *FS) Chtimes(name string, atime time.Time, mtime time.Time) error
- func (fs *FS) Mkdir(name string, perm hackpadfs.FileMode) error
- func (fs *FS) MkdirAll(path string, perm hackpadfs.FileMode) error
- func (fs *FS) Open(name string) (hackpadfs.File, error)
- func (fs *FS) OpenFile(name string, flag int, perm hackpadfs.FileMode) (hackpadfs.File, error)
- func (fs *FS) Remove(name string) error
- func (fs *FS) Rename(oldname, newname string) error
- func (fs *FS) Stat(name string) (hackpadfs.FileInfo, error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
FS is an S3-based file system, storing files and metadata in an object storage bucket.
Click to show internal directories.
Click to hide internal directories.