Module util

Module util 

Source
Expand description

Miscellaneous helper functions related to filesystem operations.

Traits§

SmartJoin
A trait to join a string that may contain . or .. to a path, and process those components for their meaning instead of just appending them.

Functions§

fix_slashes_for_target_platform
Redo a path so that all the slashes lean the correct way for the target platform. This is mostly for Windows users, to avoid showing them paths with a mix of slashes.