Kreuzcrawl.LinkType (kreuzcrawl v0.3.0-rc.37)

Copy Markdown

The classification of a link.

Summary

Types

t()

The classification of a link.

Functions

A fragment-only link (e.g., #section).

A link to a downloadable document (PDF, DOC, etc.).

A link to a different domain.

A link to the same domain.

Types

t()

@type t() :: :internal | :external | :anchor | :document

The classification of a link.

Functions

anchor()

@spec anchor() :: t()

A fragment-only link (e.g., #section).

document()

@spec document() :: t()

A link to a downloadable document (PDF, DOC, etc.).

external()

@spec external() :: t()

A link to a different domain.

internal()

@spec internal() :: t()

A link to the same domain.