Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for rootslash (0.29 sec)

  1. cmd/metacache_test.go

    	}{
    		{
    			name:   "root",
    			prefix: "object.ext",
    			want:   "",
    		},
    		{
    			name:   "rootdotslash",
    			prefix: "./object.ext",
    			want:   "",
    		},
    		{
    			name:   "rootslash",
    			prefix: "/",
    			want:   "",
    		},
    		{
    			name:   "folder",
    			prefix: "prefix/",
    			want:   "prefix/",
    		},
    		{
    			name:   "folderobj",
    			prefix: "prefix/obj.ext",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Sep 08 18:06:45 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  2. cmd/data-usage-cache.go

    	}
    	return n
    }
    
    // root returns the root of the cache.
    func (d *dataUsageCache) root() *dataUsageEntry {
    	return d.find(d.Info.Name)
    }
    
    // rootHash returns the root of the cache.
    func (d *dataUsageCache) rootHash() dataUsageHash {
    	return hashPath(d.Info.Name)
    }
    
    // clone returns a copy of the cache with no references to the existing.
    func (d *dataUsageCache) clone() dataUsageCache {
    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)
Back to top