- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for LI (0.12 sec)
-
cmd/namespace-lock.go
const readLock = true success := make([]int, len(li.paths)) for i, path := range li.paths { if !li.ns.lock(ctx, li.volume, path, lockSource, li.opsID, readLock, timeout.Timeout()) { timeout.LogFailure() for si, sint := range success { if sint == 1 { li.ns.unlock(li.volume, li.paths[si], readLock) } } if err := ctx.Err(); err == context.Canceled { return LockContext{}, err }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jun 05 23:56:35 GMT 2023 - 9.2K bytes - Viewed (0)