Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isWriteLock (0.17 sec)

  1. cmd/local-locker.go

    	Quorum          int    // Quorum represents the quorum required for this lock to be active.
    	idx             int    `msg:"-"` // index of the lock in the lockMap.
    }
    
    // isWriteLock returns whether the lock is a write or read lock.
    func isWriteLock(lri []lockRequesterInfo) bool {
    	return len(lri) == 1 && lri[0].Writer
    }
    
    // localLocker implements Dsync.NetLocker
    //
    //msgp:ignore localLocker
    type localLocker struct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top