Unlock unlocks the lock with the given token. If Unlock returns ErrForbidden then the Handler will write a "403 Forbidden" HTTP Status. If Unlock returns ErrLocked then the Handler will write a "423 Locked" HTTP status. If Unlock returns ErrNoSuchLock then the Handler will write a "409 Conflict" HT
(now time.Time, token string)
| 91 | // See http://www.webdav.org/specs/rfc4918.html#rfc.section.9.11.1 for |
| 92 | // when to use each error. |
| 93 | Unlock(now time.Time, token string) error |
| 94 | } |
| 95 | |
| 96 | // LockDetails are a lock's metadata. |
no outgoing calls