Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for ToFileInfo (0.86 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/xl-storage-format_test.go

    						b.Fatal(err)
    					}
    				}
    			})
    			b.Run("ToFileInfo", func(b *testing.B) {
    				b.SetBytes(int64(size))
    				b.ResetTimer()
    				b.ReportAllocs()
    				for b.Loop() {
    					// Load...
    					xl = xlMetaV2{}
    					err := xl.Load(enc)
    					if err != nil {
    						b.Fatal(err)
    					}
    					// List...
    					_, err = xl.ToFileInfo("volume", "path", ids[rng.Intn(size)], false, true)
    					if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  2. cmd/metacache-entries.go

    			return FileInfo{
    				Volume:   bucket,
    				Name:     e.name,
    				Deleted:  true,
    				IsLatest: true,
    				ModTime:  timeSentinel1970,
    			}, nil
    		}
    		return e.cached.ToFileInfo(bucket, e.name, "", false, true)
    	}
    	return getFileInfo(e.metadata, bucket, e.name, "", fileInfoOpts{})
    }
    
    // xlmeta returns the decoded metadata.
    // This should not be called on directories.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 24.1K bytes
    - Click Count (0)
Back to Top