fileindex

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileTreeIndex

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

func NewFileTreeIndex

func NewFileTreeIndex(fs fs.ISimpleFS) *FileTreeIndex

func (*FileTreeIndex) AddPath

func (idx *FileTreeIndex) AddPath(pathname string) error

func (*FileTreeIndex) DelPath

func (idx *FileTreeIndex) DelPath(pathname string) error

func (*FileTreeIndex) MovePath

func (idx *FileTreeIndex) MovePath(pathname, dstParentPath string) error

func (*FileTreeIndex) ReadFrom

func (idx *FileTreeIndex) ReadFrom(pathname string) error

func (*FileTreeIndex) RenamePath

func (idx *FileTreeIndex) RenamePath(pathname, newName string) error

func (*FileTreeIndex) Search

func (idx *FileTreeIndex) Search(keyword string) ([]string, error)

func (*FileTreeIndex) WriteTo

func (idx *FileTreeIndex) WriteTo(pathname string) error

Jump to

Keyboard shortcuts

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