method
Store.LockUploadObjects
LockUploadObjects serializes upload admission and cleanup across every process sharing a file database. SQLite memory databases are private to one Store and use the equivalent in-process gate.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
objectKeys | []string | The objectKeys value. |
Returns
The declared result.
(func(), error)Full signature
func (backend *Store) LockUploadObjects(
ctx context.Context,
objectKeys []string,
) (func(), error)Related types
StoreA SQLite implementation of Ridu’s document, snapshot, auth, preference, task, lock, version, and migration store contracts.