Expand description

Miscellaneous convenience functions

These functions make some menial tasks a little easier to do, like getting the executable’s name, or loading a file

Functions

Alphabetizes a vector of strings

Capitalize the first letter in a string

Returns the location (starting from 0) of the first instance of a character in a string

Returns a list of files/directories using path string

Get the name of the executable

Get the name of the file/directory from a file path

Gets the parent directory from a file path

Gets a shared value (temp file in /tmp or .cache)

Creates directory (and any parents) and handles any errors that may occur

Abstraction around fs::read_to_string() that includes error handling

Abstraction around fs::write() that includes error handling

Saves a string to a shared value (temp file in /tmp or ~/.cache)