Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for forceUnlock (0.14 sec)

  1. cmd/local-locker.go

    func (l *localLocker) IsOnline() bool {
    	return true
    }
    
    // IsLocal - local locker returns true.
    func (l *localLocker) IsLocal() bool {
    	return true
    }
    
    func (l *localLocker) ForceUnlock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	select {
    	case <-ctx.Done():
    		return false, ctx.Err()
    	default:
    		l.mutex.Lock()
    		defer l.mutex.Unlock()
    		if len(args.UID) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top