Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for deleteRecursive (0.07 seconds)

  1. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

        protected void tearDown(TestInfo testInfo) throws Exception {
            deleteRecursive(tempDir);
            super.tearDown(testInfo);
        }
    
        private void deleteRecursive(final Path path) throws IOException {
            if (Files.isDirectory(path)) {
                Files.list(path).forEach(child -> {
                    try {
                        deleteRecursive(child);
                    } catch (final IOException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  2. cmd/data-usage-cache.go

    			return &found
    		}
    	}
    	return nil
    }
    
    // deleteRecursive will delete an entry recursively, but not change its parent.
    func (d *dataUsageCache) deleteRecursive(h dataUsageHash) {
    	if existing, ok := d.Cache[h.String()]; ok {
    		// Delete first if there should be a loop.
    		delete(d.Cache, h.Key())
    		for child := range existing.Children {
    			d.deleteRecursive(dataUsageHash(child))
    		}
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  3. cmd/data-scanner.go

    				return
    			}
    			if !into.Compacted {
    				h := dataUsageHash(folder.name)
    				into.addChild(h)
    				// We scanned a folder, optionally send update.
    				f.updateCache.deleteRecursive(h)
    				f.updateCache.copyWithChildren(&f.newCache, h, folder.parent)
    				f.sendUpdate()
    			}
    		}
    
    		// Transfer existing
    		if !into.Compacted {
    			for _, folder := range existingFolders {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 45.5K bytes
    - Click Count (0)
Back to Top