mix posthog.public_api (posthog v2.10.0)

View Source

Checks the committed public API snapshot.

The snapshot is generated from compiled BEAM metadata. Public modules are discovered from the current Mix application, Code.fetch_docs/1 is used to identify documented modules and function visibility, and __info__/1 is used to enumerate exported functions and macros.

mix posthog.public_api --check
mix posthog.public_api --update

Options

  • --check - Compare the generated snapshot with the committed snapshot. This is the default.
  • --update - Regenerate the committed snapshot.
  • --snapshot - Snapshot path. Defaults to public_api.snapshot.