Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. cmd/erasure-server-pool.go

    		// of an object to check for object existence. For versioned buckets, MinIO's non-recursive
    		// call will report top level prefixes in deleted state, whereas spark/hadoop interpret this as non-empty
    		// and throw a 404 exception. This is especially a problem for spark jobs overwriting the same partition
    		// repeatedly. This workaround recursively lists the top 3 entries including delete markers to reflect the
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    // dtype when used as the type of a variable or a struct field.
    func (c *typeConv) Type(dtype dwarf.Type, pos token.Pos) *Type {
    	return c.loadType(dtype, pos, "")
    }
    
    // loadType recursively loads the requested dtype and its dependency graph.
    func (c *typeConv) loadType(dtype dwarf.Type, pos token.Pos, parent string) *Type {
    	// Always recompute bad pointer typedefs, as the set of such
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

                    log.debug("delete: " + fileName);
                }
    
                if ( ( this.attributes & ATTR_DIRECTORY ) != 0 ) {
    
                    /*
                     * Recursively delete directory contents
                     */
    
                    try ( CloseableIterator<SmbResource> it = SmbEnumerationUtil
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  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. 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)
Back to top