alias

package
v3.22.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2023 License: AGPL-3.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addition

type Addition struct {
	// Usually one of two
	// driver.RootPath
	// define other
	Paths string `json:"paths" required:"true" type:"text"`
}

type Alias

type Alias struct {
	model.Storage
	Addition
	// contains filtered or unexported fields
}

func (*Alias) Config

func (d *Alias) Config() driver.Config

func (*Alias) Drop

func (d *Alias) Drop(ctx context.Context) error

func (*Alias) Get

func (d *Alias) Get(ctx context.Context, path string) (model.Obj, error)

func (*Alias) GetAddition

func (d *Alias) GetAddition() driver.Additional

func (*Alias) Init

func (d *Alias) Init(ctx context.Context) error
func (d *Alias) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)

func (*Alias) List

func (d *Alias) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)

Jump to

Keyboard shortcuts

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