View Source Membrane.ComponentPath (Membrane Core v1.0.1)

A list consisting of following pipeline/bin/element names down the assembled pipeline.

It traces element's path inside a pipeline. Information is being stored in a process dictionary and can be set/appended to.

Summary

Types

A list consisting of following pipeline/bin/element names down the assembled pipeline.

Functions

Returns formatted string of given path's names.

Returns currently stored path.

Works the same way as format/1 but uses currently stored path.

Sets current path.

Types

@type path() :: [String.t()]

A list consisting of following pipeline/bin/element names down the assembled pipeline.

It traces element's path inside a pipeline. Information is being stored in a process dictionary and can be set/appended to.

Functions

@spec format(path()) :: String.t()

Returns formatted string of given path's names.

@spec get() :: [String.t()]

Returns currently stored path.

If path has not been set, empty list is returned.

@spec get_formatted() :: String.t()

Works the same way as format/1 but uses currently stored path.

@spec set(path()) :: :ok

Sets current path.

If path had already existed then replaces it.