s3fs

package
v0.0.0-...-42f4af5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const READAHEAD = 1024 * 64 // 64kb readahead

Variables

This section is empty.

Functions

This section is empty.

Types

type Fs

type Fs struct {
	// contains filtered or unexported fields
}

func NewFS

func NewFS(bucket string, s3 *s3.S3) *Fs

func (*Fs) Open

func (s3fs *Fs) Open(name string) (fs.File, error)

Open a file for reading.

func (Fs) Stat

func (s3fs Fs) Stat(name string) (fs.FileInfo, error)

Stat returns a FileInfo describing the named file. If there is an error, it will be of type *os.PathError.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL