vault

package
v0.0.0-...-cf45389 Latest Latest
Warning

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

Go to latest
Published: May 18, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidPath = fmt.Errorf("invalid path")
)

Functions

This section is empty.

Types

type Vault

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

func NewVault

func NewVault(client scproto.SoftcopyClient) *Vault

func (*Vault) Open

func (v *Vault) Open(name string) (goblin.File, error)

func (*Vault) ReadDir

func (v *Vault) ReadDir(name string) ([]os.FileInfo, error)

func (*Vault) ReadFile

func (v *Vault) ReadFile(name string) ([]byte, error)

func (*Vault) Stat

func (v *Vault) Stat(name string) (os.FileInfo, error)

func (*Vault) String

func (v *Vault) String() string

Jump to

Keyboard shortcuts

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