Kreuzcrawl.AssetCategory (kreuzcrawl v0.3.0-rc.43)

Copy Markdown

The category of a downloaded asset.

Summary

Types

t()

The category of a downloaded asset.

Functions

An archive file (ZIP, TAR, etc.).

An audio file.

A data file (JSON, XML, CSV, etc.).

A document file (PDF, DOC, etc.).

A font file.

An image file.

An unrecognized asset type.

A JavaScript file.

A CSS stylesheet.

A video file.

Types

t()

@type t() ::
  :document
  | :image
  | :audio
  | :video
  | :font
  | :stylesheet
  | :script
  | :archive
  | :data
  | :other

The category of a downloaded asset.

Functions

archive()

@spec archive() :: t()

An archive file (ZIP, TAR, etc.).

audio()

@spec audio() :: t()

An audio file.

data()

@spec data() :: t()

A data file (JSON, XML, CSV, etc.).

document()

@spec document() :: t()

A document file (PDF, DOC, etc.).

font()

@spec font() :: t()

A font file.

image()

@spec image() :: t()

An image file.

other()

@spec other() :: t()

An unrecognized asset type.

script()

@spec script() :: t()

A JavaScript file.

stylesheet()

@spec stylesheet() :: t()

A CSS stylesheet.

video()

@spec video() :: t()

A video file.