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

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
objectKeys[]stringThe objectKeys value.

Returns

The declared result.

(func(), error)

Full signature

func (backend *Store) LockUploadObjects( ctx context.Context, objectKeys []string, ) (func(), error)

Source adapters/sqlite/support.go:216

Related types

  • Store

    A SQLite implementation of Ridu’s document, snapshot, auth, preference, task, lock, version, and migration store contracts.