get_folder_font

Function get_folder_font 

Source
fn get_folder_font(
    structure: &Path,
    auth_response: &AuthToken,
) -> HashMap<String, String>
Expand description

Generate font awesome icon’s value for a given folder depth.

Creates custom icons for folder-tree, defaults to folder icon.

§Arguments

  • tree - Depth of directories.

§Returns

A string with the fa value based on the folder depth.