Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/iam-store.go

    	policies := make(map[string]MappedPolicy, m.Size())
    	m.Range(func(k string, v MappedPolicy) bool {
    		policies[k] = v
    		return true
    	})
    	return policies
    }
    
    // converts a mapped policy into a slice of distinct policies
    func (mp MappedPolicy) toSlice() []string {
    	var policies []string
    	for _, policy := range strings.Split(mp.Policies, ",") {
    		if strings.TrimSpace(policy) == "" {
    			continue
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  2. cmd/xl-storage.go

    	if err != nil {
    		return err
    	}
    
    	// Clear and repopulate
    	for k := range foundDirs {
    		delete(foundDirs, k)
    	}
    
    	// Populate into map
    	for _, k := range dirs {
    		foundDirs[k] = struct{}{}
    	}
    
    	// Delete all directories we expect to be there.
    	for _, dir := range wantDirs {
    		delete(foundDirs, dir)
    	}
    
    	// Nothing to delete
    	if len(foundDirs) == 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top