fs

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGCSFS

func NewGCSFS(ctx context.Context, bucket string, conn connection.GCSConnection) (*gcsFS, error)

func NewLocalFS

func NewLocalFS(base string) *localFS

func NewS3FS

func NewS3FS(ctx context.Context, bucket string, conn connection.S3Connection) (*s3FS, error)

func NewSMBFS

func NewSMBFS(server string, port, share string, auth types.Authentication) (*smbFS, error)

func NewSSHFS

func NewSSHFS(host, user, password string) (*sshFS, error)

Types

type FileInfo added in v1.0.8

type FileInfo interface {
	os.FileInfo
	FullPath() string
}

FileInfo is a wrapper for os.FileInfo that also returns the full path of the file.

FullPath is required to support globs with ReadDir()

Jump to

Keyboard shortcuts

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