Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for findClosestCommands (0.09 sec)

  1. cmd/main.go

    		// go:build tags)
    		if command.Name == "" {
    			return
    		}
    		commands = append(commands, command)
    		commandsTree.Insert(command.Name)
    	}
    
    	findClosestCommands := func(command string) []string {
    		var closestCommands []string
    		closestCommands = append(closestCommands, commandsTree.PrefixMatch(command)...)
    
    		sort.Strings(closestCommands)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jul 30 22:59:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top