Unlocks the lock. If the Lock was never acquired before it will cause a panic.
// unlock it now and try again. err = fl1.Unlock() c.Assert(err, IsNil)
} err = fl2.Unlock() c.Assert(err, IsNil)
<-doneChan err = fl1.Unlock() c.Assert(err, IsNil) }
Unlock is referenced in 1 repositorygithub.com/dropbox/godropbox
- 3 references in sys/filelock/filelock_test.go