Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for formatUUID (0.12 sec)

  1. cmd/local-locker.go

    				TimeLastRefresh: now.UnixNano(),
    				Group:           len(args.Resources) > 1,
    				Quorum:          *args.Quorum,
    				idx:             i,
    			},
    		}
    		l.lockUID[formatUUID(args.UID, i)] = resource
    	}
    	return true, nil
    }
    
    func formatUUID(s string, idx int) string {
    	return concat(s, strconv.Itoa(idx))
    }
    
    func (l *localLocker) Unlock(_ context.Context, args dsync.LockArgs) (reply bool, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top