Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for flattenChildrens (0.08 sec)

  1. cmd/data-usage-cache.go

    func (h dataUsageHash) String() string {
    	return string(h)
    }
    
    // Key returns the key.
    func (h dataUsageHash) Key() string {
    	return string(h)
    }
    
    func (d *dataUsageCache) flattenChildrens(root dataUsageEntry) (m map[string]dataUsageEntry) {
    	m = make(map[string]dataUsageEntry)
    	for id := range root.Children {
    		e := d.Cache[id]
    		if len(e.Children) > 0 {
    			e = d.flatten(e)
    		}
    		m[id] = e
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top