Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for replaceHashed (0.16 sec)

  1. cmd/data-usage-cache.go

    		p := d.Cache[phash.Key()]
    		p.addChild(hash)
    		d.Cache[phash.Key()] = p
    	}
    }
    
    // replaceHashed add or replaces an entry to the cache based on its hash.
    // If a parent is specified it will be added to that if not already there.
    // If the parent does not exist, it will be added.
    func (d *dataUsageCache) replaceHashed(hash dataUsageHash, parent *dataUsageHash, e dataUsageEntry) {
    	if d.Cache == nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 41.3K bytes
    - Viewed (1)
  2. cmd/data-scanner.go

    					if next == nil {
    						foundAny = true
    						break
    					}
    					parent = *next
    				}
    				if !foundAny {
    					// Add non-compacted empty entry.
    					f.updateCache.replaceHashed(h, &thisHash, dataUsageEntry{})
    				}
    			}
    			f.updateCurrentPath(folder.name)
    			stopFn := globalScannerMetrics.log(scannerMetricScanFolder, f.root, folder.name)
    			scanFolder(folder)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 09:40:19 GMT 2024
    - 46.9K bytes
    - Viewed (0)
Back to top