files

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func NewStore

func NewStore(url, path string) Store

func (Store) Copy

func (s Store) Copy(searchPath, targetPath string, other Store) (string, error)

func (Store) Delete added in v0.3.10

func (s Store) Delete(relativePath string) error

func (Store) DeleteOld

func (s Store) DeleteOld(duration time.Duration) error

func (Store) Exists

func (s Store) Exists(relativePath string) bool

func (Store) Open added in v0.3.10

func (s Store) Open(path string) (io.ReadWriteCloser, string, error)

func (Store) Save

func (s Store) Save(buffer []byte, relativePath string) (string, error)

Jump to

Keyboard shortcuts

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