Validates complete trajectories and computes their stable payload identity.
Summary
Functions
Returns the version used by the current payload fingerprint.
Validates a trajectory and returns its versioned SHA-256 payload digest.
Transforms a complete trajectory into a graph changeset.
Functions
@spec fingerprint_version() :: pos_integer()
Returns the version used by the current payload fingerprint.
@spec prepare(Mnemosyne.Trajectory.t()) :: {:ok, binary()} | {:error, Mnemosyne.Errors.Invalid.IngestionError.t()}
Validates a trajectory and returns its versioned SHA-256 payload digest.
@spec run( Mnemosyne.Trajectory.t(), keyword() ) :: {:ok, Mnemosyne.Graph.Changeset.t()} | {:error, Mnemosyne.Errors.error()}
Transforms a complete trajectory into a graph changeset.