package async_smtp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Direct operations that provide no validation or exclusive access guarantees.

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.

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.

OCaml

Innovation. Community. Security.