Documentation ¶
Index ¶
- Constants
- Variables
- func FromEnv() (billy.Filesystem, error)
- func NewDirInfo(prefix string) fs.FileInfo
- func NewFileInfo(info minio.ObjectInfo) fs.FileInfo
- func NewS3() billy.Filesystem
- type File
- func (f *File) Close() error
- func (f *File) Lock() error
- func (f *File) Name() string
- func (f *File) Read(p []byte) (n int, err error)
- func (f *File) ReadAt(p []byte, off int64) (n int, err error)
- func (f *File) Seek(offset int64, whence int) (int64, error)
- func (f *File) Truncate(size int64) error
- func (f *File) Unlock() error
- func (*File) Write(p []byte) (n int, err error)
- type FileInfo
- type S3
- func (*S3) Chroot(path string) (billy.Filesystem, error)
- func (*S3) Create(filename string) (billy.File, error)
- func (s3 *S3) Index()
- func (*S3) Join(elem ...string) string
- func (*S3) Lstat(filename string) (fs.FileInfo, error)
- func (s3 *S3) MkdirAll(filename string, perm fs.FileMode) error
- func (s3 *S3) Open(filename string) (billy.File, error)
- func (s3 *S3) OpenFile(filename string, flag int, perm fs.FileMode) (billy.File, error)
- func (s3 *S3) ReadDir(path string) ([]fs.FileInfo, error)
- func (*S3) Readlink(link string) (string, error)
- func (s3 *S3) Remove(filename string) error
- func (s3 *S3) Rename(oldpath string, newpath string) error
- func (*S3) Root() string
- func (s3 *S3) Stat(filename string) (fs.FileInfo, error)
- func (*S3) Symlink(target string, link string) error
- func (*S3) TempFile(dir string, prefix string) (billy.File, error)
- type S3Config
Constants ¶
View Source
const DefaultACL = 0540
Variables ¶
View Source
var (
ErrNotImplemented = errors.New("feature not implemented")
)
Functions ¶
func NewDirInfo ¶
func NewFileInfo ¶
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
type S3 ¶
type S3 struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.