[#node-BlockManager-UpdatePruneLock] = xref:node.adoc[node]::xref:node/BlockManager.adoc[BlockManager]::UpdatePruneLock :relfileprefix: ../../ :mrdocs: Create or update a prune lock identified by its name == Synopsis Declared in `<node/blockstorage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e1b099988), requires_capability(0x7f2e26d1b0e8), requires_capability(0x7f2e375e11c8), requires_capability(0x7f2e33368588), requires_capability(0x7f2e3542f578), requires_capability(0x7f2e28a740d8)]] void UpdatePruneLock( std::string const& name, xref:node/PruneLockInfo.adoc[PruneLockInfo] const& lock_info); ---- == Parameters [cols="1,4"] |=== | Name| Description | *name* | The name identifying the prune lock. | *lock_info* | The prune lock information to store. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#