Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Talk (0.17 sec)

  1. cmd/main.go

    		sort.Strings(closestCommands)
    		// Suggest other close commands - allow missed, wrongly added and
    		// even transposed characters
    		for _, value := range commandsTree.Walk(commandsTree.Root()) {
    			if sort.SearchStrings(closestCommands, value) < len(closestCommands) {
    				continue
    			}
    			// 2 is arbitrary and represents the max
    			// allowed number of typed errors
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. docs/debugging/reorder-disks/main.go

    	}
    
    	if err := scanner.Err(); err != nil {
    		return nil, err
    	}
    
    	return result, nil
    }
    
    func getDiskUUIDMap() (map[string]string, error) {
    	result := make(map[string]string)
    	err := filepath.Walk("/dev/disk/by-uuid/",
    		func(path string, info os.FileInfo, err error) error {
    			if err != nil {
    				return err
    			}
    			realPath, err := filepath.EvalSymlinks(path)
    			if err != nil {
    				return err
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top