MCPcopy
hub / github.com/syncthing/syncthing / ReadTransaction

Interface ReadTransaction

internal/db/olddb/backend/backend.go:41–44  ·  view source on GitHub ↗

The ReadTransaction interface specifies the operations on read-only transactions. Every ReadTransaction must be released when no longer required.

Source from the content-addressed store, hash-verified

39// transactions. Every ReadTransaction must be released when no longer
40// required.
41type ReadTransaction interface {
42 Reader
43 Release()
44}
45
46// The WriteTransaction interface specifies the operations on writable
47// transactions. Every WriteTransaction must be either committed or released

Callers

nothing calls this directly

Implementers 3

Snapshotinternal/db/olddb/set.go
leveldbSnapshotinternal/db/olddb/backend/leveldb_back
releaserinternal/db/olddb/backend/backend.go

Calls

no outgoing calls

Tested by

no test coverage detected