Function inject_lib::strip_win_path
source · [−]Expand description
This takes a string, and cuts off, everything before the last \
.
The intention is, that this will truncate any windows path (since windows uses \
), to it’s filename, without having to actually look the file up.