Expand description

Reimplement some Path handling code: The one in std is not available when running in WASM!

This is not helped by us using URLs in place of paths sometimes.

Functions

  • Return a clean up path without unnecessary . and .. directories in it.
  • Return the part of Path before the last path separator.
  • Check whether a Path is actually an URL.
  • Join a path to a base_path, handling URLs in both, matching up path separators, etc.