suggestion

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: Apache-2.0 Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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