github.com/elves/Elvish@v0.12.0/store/storedefs/storedefs.go (about) 1 // Package storedefs contains definitions used by the store package. 2 package storedefs 3 4 import "errors" 5 6 // NoBlacklist is an empty blacklist, to be used in GetDirs. 7 var NoBlacklist = map[string]struct{}{} 8 9 // ErrNoMatchingCmd is the error returned when a LastCmd or FirstCmd query 10 // completes with no result. 11 var ErrNoMatchingCmd = errors.New("no matching command line") 12 13 // Dir is an entry in the directory history. 14 type Dir struct { 15 Path string 16 Score float64 17 }