src.elv.sh/pkg/cli/histutil.memStoreCursor.index (field)
14 uses
src.elv.sh/pkg/cli/histutil (current package)
mem_store.go#L39: index int
mem_store.go#L43: if c.index < 0 {
mem_store.go#L46: for c.index--; c.index >= 0; c.index-- {
mem_store.go#L47: if strings.HasPrefix(c.cmds[c.index].Text, c.prefix) {
mem_store.go#L54: if c.index >= len(c.cmds) {
mem_store.go#L57: for c.index++; c.index < len(c.cmds); c.index++ {
mem_store.go#L58: if strings.HasPrefix(c.cmds[c.index].Text, c.prefix) {
mem_store.go#L65: if c.index < 0 || c.index >= len(c.cmds) {
mem_store.go#L68: return c.cmds[c.index], nil
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)