Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getFileInfo (0.06 sec)

  1. cmd/xl-storage_test.go

    	xlStorage, _, err := newXLStorageTestSetup(t)
    	if err != nil {
    		t.Fatalf("Unable to cfgreate xlStorage test setup, %s", err)
    	}
    
    	xlMeta, _ := os.ReadFile("testdata/xl.meta")
    	fi, _ := getFileInfo(xlMeta, "exists", "as-file", "", fileInfoOpts{Data: false})
    
    	// Create files for the test cases.
    	if err = xlStorage.MakeVol(context.Background(), "exists"); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    		}
    		tags[fmt.Sprintf("ddisk-%d", index)] = errStr
    	}
    
    	return m, nil
    }
    
    func fileInfoFromRaw(ri RawFileInfo, bucket, object string, readData, inclFreeVers bool) (FileInfo, error) {
    	return getFileInfo(ri.Buf, bucket, object, "", fileInfoOpts{
    		Data:             readData,
    		InclFreeVersions: inclFreeVers,
    	})
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    	if err != nil {
    		if err == errFileNotFound {
    			if versionID != "" {
    				return fi, errFileVersionNotFound
    			}
    		}
    		return fi, err
    	}
    
    	fi, err = getFileInfo(buf, volume, path, versionID, fileInfoOpts{
    		Data:             opts.ReadData,
    		InclFreeVersions: opts.InclFreeVersions,
    	})
    	if err != nil {
    		return fi, err
    	}
    
    	if len(fi.Data) == 0 {
    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