Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsRegular (0.04 sec)

  1. cmd/xl-storage.go

    	defer file.Close()
    
    	st, err := file.Stat()
    	if err != nil {
    		return 0, err
    	}
    
    	// Verify it is a regular file, otherwise subsequent Seek is
    	// undefined.
    	if !st.Mode().IsRegular() {
    		return 0, errIsNotRegular
    	}
    
    	if verifier == nil {
    		n, err = file.ReadAt(buffer, offset)
    		return int64(n), err
    	}
    
    	h := verifier.algorithm.New()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top