shell

package
v0.0.0-...-af75c85 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(line string)

Types

type CompletionCache

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

func CreateCache

func CreateCache() (*CompletionCache, error)

func (*CompletionCache) Cache

func (cc *CompletionCache) Cache(db *sqlite.Conn) error

func (*CompletionCache) Close

func (cc *CompletionCache) Close() error

func (*CompletionCache) CompleteCmd

func (cc *CompletionCache) CompleteCmd(prefix string) ([]string, error)

func (*CompletionCache) CompleteColName

func (cc *CompletionCache) CompleteColName(dbName string, tbl_names []string, prefix string) ([]string, error)

tbl_names is mandatory

func (*CompletionCache) CompleteDbName

func (cc *CompletionCache) CompleteDbName(prefix string) ([]string, error)

func (*CompletionCache) CompleteFunc

func (cc *CompletionCache) CompleteFunc(prefix string) ([]string, error)

func (*CompletionCache) CompletePragma

func (cc *CompletionCache) CompletePragma(prefix string) ([]string, error)

func (*CompletionCache) CompleteTableName

func (cc *CompletionCache) CompleteTableName(dbName, prefix, typ string) ([]string, error)

func (*CompletionCache) Flush

func (cc *CompletionCache) Flush(db *sqlite.Conn) error

func (*CompletionCache) Update

func (cc *CompletionCache) Update(db *sqlite.Conn) error

Jump to

Keyboard shortcuts

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