Skip to main content

Module href

Module href 

Source
Expand description

Utilities and structures for working with hrefs.

Traits§

SelfHref
Implemented by all three STAC objects, the SelfHref trait allows getting and setting an object’s href.

Functions§

is_absolute
Returns true if the href is absolute.
is_windows_absolute_path
Returns true if the href looks like a Windows absolute path (e.g. C:\foo or D:/bar).
make_absolute
Makes an href absolute relative to a base.
make_relative
Makes an href relative to a base.
make_url
Converts this href to a Url.