Module perseus::path

source ·
Expand description

Utilities for working with typed paths.

Structs

  • A path that will include the locale if the app is using i18n, and that will not if it isn’t.
  • A path that includes the locale, whether the app is using i18n or not. If i18n is not being used, the locale will be xx-XX.
  • A path that does not include the locale, even if the app is using i18n.
  • A path that includes no locale, and no template/capsule name. For the page /posts/foo generated by the posts template, the PurePath would be foo.