gitlab.com/apertussolutions/u-root@v7.0.0+incompatible/cmds/core/elvish/store/storedefs/storedefs.go (about) 1 // Package storedefs contains definitions used by the store package. 2 package storedefs 3 4 import "errors" 5 6 // ErrNoMatchingCmd is the error returned when a LastCmd or FirstCmd query 7 // completes with no result. 8 var ErrNoMatchingCmd = errors.New("no matching command line") 9 10 // Dir is an entry in the directory history. 11 type Dir struct { 12 Path string 13 Score float64 14 }