Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for nondik (0.03 seconds)

  1. cmd/bucket-lifecycle.go

    // complete.
    func isRestoredObjectOnDisk(meta map[string]string) (onDisk bool) {
    	if restoreHdr, ok := meta[xhttp.AmzRestore]; ok {
    		if restoreStatus, err := parseRestoreObjStatus(restoreHdr); err == nil {
    			return restoreStatus.OnDisk()
    		}
    	}
    	return onDisk
    }
    
    // ToLifecycleOpts returns lifecycle.ObjectOpts value for oi.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  2. cmd/storage-rest_test.go

    	testCases := []struct {
    		volumeName     string
    		prefix         string
    		expectedResult []string
    		expectErr      bool
    	}{
    		{"foo", "path", []string{"to/"}, false},
    		// prefix not found error.
    		{"foo", "nodir", nil, true},
    	}
    
    	for i, testCase := range testCases {
    		result, err := storage.ListDir(t.Context(), "", testCase.volumeName, testCase.prefix, -1)
    		expectErr := (err != nil)
    
    		if expectErr != testCase.expectErr {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top