Module utils

Source

Traits§

StringUtils
Some helper functions for dealing with Unicode strings.

Functions§

absolute_path
Absolutize a given path with the current working directory.
absolute_path_base
Absolutize a given path with the given base.
create_podcast_dir
Get the download directory for the provided pod_title and create it if not existing
display_with
Helper function to defer formatting to later, without having to allocate a intermediate String
filetype_supported
get_app_config_path
get_parent_folder
Get the parent path of the given path, if there is none use the tempdir
get_pin_yin
is_playlist
playlist_get_vec
Parse the playlist at current_node(from the tui tree) and return the media paths
random_ascii
Generate len random ascii character (a-z0-9)
spawn_process
Spawn a detached process