Text of patch.hexdocs.pm › Patch.Mock.Code.Transforms.Reroute.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.Transforms.Reroute — patch v0.16.1

View Source Patch.Mock.Code.Transforms.Reroute (patch v0.16.1) Summary Functions transform(abstract_forms, source, destination) Transforms the provided forms to rewrite any remote calls to the source module into remote calls to the destination module. Functions Link to this function transform(abstract_forms, source, destination) View Source @spec transform( abstract_forms :: [ Patch.Mock.Code.form ()], source :: module (), destination :: module () ) :: [ Patch.Mock.Code.form ()] Transforms the provided forms to rewrite any remote calls to the source module into remote calls to the destination module.