Krptkn.MetadataFilter (Кропоткин Framework v0.1.0) View Source

This module provides functions to mark metadata as dangerous or as not interesting.

Link to this section Summary

Functions

Checks if a string contains potentially dangerous or interesting data.

Checks if a type of metadata is known to be not useful or uninteresting.

Link to this section Functions

Link to this function

interesting_data?(string)

View Source

Checks if a string contains potentially dangerous or interesting data.

Returns true or false.

Examples

iex> Krptkn.MetadataFilter.interesting_data?(string)
true

Checks if a type of metadata is known to be not useful or uninteresting.

Returns true or false.

Examples

iex> Krptkn.MetadataFilter.interesting_type?(string)
true