Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Recursive (0.11 sec)

  1. cmd/erasure-healing_test.go

    		}
    
    		for i := 0; i < nfi.Erasure.ParityBlocks; i++ {
    			erasureDisks[i].Delete(context.Background(), bucket, pathJoin(object, xlStorageFormatFile), DeleteOptions{
    				Recursive: false,
    				Immediate: false,
    			})
    		}
    
    		// Try healing now, it should heal the content properly.
    		_, err = objLayer.HealObject(ctx, bucket, object, "", hopts)
    		if err != nil {
    			t.Fatal(err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    // deleteFile deletes a file or a directory if its empty unless recursive
    // is set to true. If the target is successfully deleted, it will recursively
    // move up the tree, deleting empty parent directories until it finds one
    // with files in it. Returns nil for a non-empty directory even when
    // recursive is set to false.
    func (s *xlStorage) deleteFile(basePath, deletePath string, recursive, immediate bool) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  3. cmd/object-api-listobjects_test.go

    			IsTruncated: false,
    			Objects:     []ObjectInfo{},
    		},
    		// ListObjectsResult-31 Empty directory, recursive listing
    		31: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "obj1"},
    				{Name: "obj2"},
    				{Name: "temporary/0/"},
    			},
    		},
    		// ListObjectsResult-32 Empty directory, non recursive listing
    		32: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "obj1"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  4. cmd/xl-storage_test.go

    			Recursive: false,
    			Immediate: false,
    		}); err != errFileAccessDenied {
    			t.Errorf("expected: %s, got: %s", errFileAccessDenied, err)
    		}
    	}
    
    	// TestXLStorage for delete on an removed disk.
    	// should fail with disk not found.
    	err = xlStorageDeletedStorage.Delete(context.Background(), "del-vol", "my-file", DeleteOptions{
    		Recursive: false,
    		Immediate: false,
    	})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    		merged.forwardPast(opts.Marker)
    		defer merged.truncate(0) // Release when returning
    
    		if contextCanceled(ctx) {
    			return ListObjectsInfo{}, ctx.Err()
    		}
    
    		// Default is recursive, if delimiter is set then list non recursive.
    		objects := merged.fileInfos(bucket, prefix, delimiter)
    		loi.IsTruncated = err == nil && len(objects) > 0
    		if limitTo > 0 && len(objects) > limitTo {
    			objects = objects[:limitTo]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

         */
        public String getServer () {
            return this.fileLocator.getServer();
        }
    
    
        @Override
        public SmbWatchHandle watch ( int filter, boolean recursive ) throws CIFSException {
    
            if ( filter == 0 ) {
                throw new IllegalArgumentException("filter must not be 0");
            }
    
            if ( !isDirectory() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  7. docs/bucket/notifications/README.md

    > open connections to the database. This setting is generally NOT recommended as the behavior may be inconsistent during recursive deletes in `namespace` format.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    		index := index
    		g.Go(func() error {
    			if onlineDisks[index] == nil {
    				return nil
    			}
    			return onlineDisks[index].Delete(ctx, bucket, pathJoin(object, dataDir), DeleteOptions{
    				Recursive: true,
    			})
    		}, index)
    	}
    
    	return reduceWriteQuorumErrs(ctx, g.Wait(), objectOpIgnoredErrs, writeQuorum)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    			}
    			for _, prefix := range prefixes {
    				prefixObjInfoCh := c.ListObjects(ctx, r.Source.Bucket, miniogo.ListObjectsOptions{
    					Prefix:       prefix,
    					WithVersions: minioSrc,
    					Recursive:    true,
    					WithMetadata: true,
    				})
    				for obj := range prefixObjInfoCh {
    					objInfoCh <- obj
    				}
    			}
    			xioutil.SafeClose(objInfoCh)
    		}()
    
    		prevObj := ""
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  10. src/archive/zip/reader_test.go

    		// fileheader and TOC's crc32 match if they're both
    		// non-zero and only the second line above, the TOC,
    		// is what matters.
    	})
    }
    
    // rZipBytes returns the bytes of a recursive zip file, without
    // putting it on disk and triggering certain virus scanners.
    func rZipBytes() []byte {
    	s := `
    0000000 50 4b 03 04 14 00 00 00 08 00 08 03 64 3c f9 f4
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
Back to top