Direct operations that provide no validation or exclusive access guarantees.
val contents : t ‑> Spoolable.Metadata.t Async.Deferred.Or_error.t
No checkout is performed and the data is read directly from the queue file. If you need to later update this data, consider revalidating the contents after checkout and before writing.
val data_file : t ‑> Data_file.t
Get the data_file associated with an Entry.t
. It is unsafe to operate on this
directly ouside of a checkout, much like contents
.
val save : t ‑> Spoolable.Metadata.t ‑> unit Async.Deferred.Or_error.t
Save contents directly to the file path derived from t
. There are no
validation or exclusive access guarantees. This will atomically clobber over any
existing file.
val remove : t ‑> unit Async.Deferred.Or_error.t
Delete an Entry.t
from disk along with its registry file and data_file. There
are no validation or exclusive access guarantees.