Expand description
Utility functions.
Functions§
- alpha_
idx_ to_ uint_ idx - This is the reverse function to
uint_idx_to_alpha_idx. - get_
alpha_ focus_ id - get_
multi_ extension - Get the full extension of a path, including all extensions.
For example, for “foo.tar.gz”, this function returns “tar.gz”, and not just “gz”,
like
path.extension()would. - get_
multi_ 🔒extension_ from_ filename - search_
upward - This function searches upward from
startfor directories or files matchingitem. It returns aVec<PathBuf>to all found instances in order of closest to furthest away. The function only searches up within subdirectories ofend. - uint_
idx_ to_ alpha_ idx - This function takes a number and converts it’s digits into the range a-p. This is nice because it makes for some easily typed ids. The function first formats the number as a hex digit and then performs the mapping.