Text of patch.hexdocs.pm › Patch.Mock.Code.Unit.html as Styx crawled it on Nov 20, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

Patch.Mock.Code.Unit — patch v0.16.1

View Source Patch.Mock.Code.Unit (patch v0.16.1) Summary Types t() Functions purge(unit) restore(unit) Types Link to this type t() View Source @type t() :: %Patch.Mock.Code.Unit{ abstract_forms: [ Patch.Mock.Code.form ()], compiler_options: [ Patch.Mock.Code.compiler_option ()], module: module (), sticky?: boolean () } Functions Link to this function purge(unit) View Source @spec purge(unit :: t ()) :: :ok Link to this function restore(unit) View Source @spec restore(unit :: t ()) :: :ok