Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Completion ¶
type Completion struct { Progress bool /* whether forward progress has been made */ Done bool /* whether the completion now represents a file or directory */ Text string /* the string to advance, suffixed " " or "/" for file or directory */ NumMatch int /* number of files that matched */ Files []string /* files returned */ }
func Complete ¶
func Complete(dir, s string) (*Completion, error)
Click to show internal directories.
Click to hide internal directories.