Function get_dir_stream_content

Source
pub fn get_dir_stream_content(
    parent: &str,
    child: &str,
    file_formats: &[String],
) -> ContentPayload
Expand description

Retrieves content information for a specific directory within a stream.

§Arguments

  • parent - Path to the parent directory.
  • child - Path to the child directory.
  • file_formats - File formats (set as env vars) that are allowed for streaming.

§Returns

A ContentPayload struct representing the content of the specified directory.