suggestion

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const ListDirChanSize = 50
View Source
const MaxSuggestions = 50

Variables

View Source
var PathSepStr = string(os.PathSeparator)

Functions

func DisposeSuggestions

func DisposeSuggestions(ctx context.Context, widgetId string)

Types

type DirEntryResult

type DirEntryResult struct {
	Entry fs.DirEntry
	Err   error
}

type MockDirEntry

type MockDirEntry struct {
	NameStr  string
	IsDirVal bool
	FileMode fs.FileMode
}

func (*MockDirEntry) Info

func (m *MockDirEntry) Info() (fs.FileInfo, error)

func (*MockDirEntry) IsDir

func (m *MockDirEntry) IsDir() bool

func (*MockDirEntry) Name

func (m *MockDirEntry) Name() string

func (*MockDirEntry) Type

func (m *MockDirEntry) Type() fs.FileMode

Jump to

Keyboard shortcuts

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