Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for saveFile (0.16 sec)

  1. cmd/xl-storage.go

    		s.RUnlock()
    		return diskID, nil
    	}
    	s.RUnlock()
    
    	fi, err := s.checkFormatJSON()
    	if err != nil {
    		return "", err
    	}
    
    	if xioutil.SameFile(fi, fileInfo) && diskID != "" {
    		s.Lock()
    		// If the file has not changed, just return the cached diskID information.
    		s.formatLastCheck = time.Now()
    		s.Unlock()
    		return diskID, nil
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top