Module content

Source
Expand description

Module for the functions that scans the source and renders the filenames as a struct.

Structs§

ContentPayload
Represents the payload structure for content, including files and directories.
Iter
Represents an iterator structure with optional previous and next elements.

Functions§

default_structure
Returns the default structure for content, represented as an empty vector of HashMaps.
get_all_stream_content
Retrieves content information for all streams.
get_dir_stream_content
Retrieves content information for a specific directory within a stream.
get_file_font
Generate font awesome icon’s value for a given file extension.
get_folder_font 🔒
Generate font awesome icon’s value for a given folder depth.
get_iter
Retrieves the previous and/or next file to the currently streaming file.
natural_sort_key 🔒
Extracts a natural sort key from a filename.