Certitudo.Impressio (certitudo v0.1.0)

Copy Markdown View Source

Resolves the current snapshot (impressio) — either newly created or an already-known duplicate with the same fingerprint.

Summary

Functions

Stage: resolves the impressio for ctx.snapshot against ctx.run_dir / ctx.coverdata_path, adding :kind, :impressio_run_dir and :impressio_snapshot.

Types

kind()

@type kind() :: :new | :known

Functions

find_duplicate(arg1)

@spec find_duplicate(map()) :: binary() | nil

resolve(ctx)

@spec resolve(map()) :: map()

Stage: resolves the impressio for ctx.snapshot against ctx.run_dir / ctx.coverdata_path, adding :kind, :impressio_run_dir and :impressio_snapshot.

resolve(snapshot, run_dir, coverdata_path)

@spec resolve(map(), binary(), binary()) :: {kind(), binary(), map()}