autoindex

package
v4.1.10 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addition

type Addition struct {
	URL                string `json:"url" required:"true"`
	ItemXPath          string `json:"item_xpath" required:"true"`
	NameXPath          string `json:"name_xpath" required:"true"`
	ModifiedXPath      string `json:"modified_xpath"`
	SizeXPath          string `json:"size_xpath"`
	IgnoreFileNames    string `json:"ignore_file_names" type:"text" default:".\n..\nParent Directory\nUp"`
	ModifiedTimeFormat string `` /* 128-byte string literal not displayed */
}

type AutoIndex

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

func (*AutoIndex) Config

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

func (*AutoIndex) Drop

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

func (*AutoIndex) GetAddition

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

func (*AutoIndex) GetRoot

func (d *AutoIndex) GetRoot(ctx context.Context) (model.Obj, error)

func (*AutoIndex) Init

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

func (*AutoIndex) List

func (d *AutoIndex) 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