unlock_sync


Description:

public bool unlock_sync (string? uri, string lock_token, Cancellable? cancellable = null) throws Error

Releases (unlocks) existing lock lock_token for a resource identified by uri, or, in case it's null, on the URI defined in associated Source.

The lock_token is returned from lock_sync and the uri should be the same as that used with lock_sync.

Parameters:

this

an WebDAVSession

uri

URI to lock, or null to read from Source

lock_token

token of an existing lock

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.