Skip to main content

Module path

Module path 

Source
Expand description

Canonical WebDAV path handling.

Structs§

DavPath
A normalized path relative to a WebDAV mount.

Enums§

DavPathError
Errors produced while canonicalizing a WebDAV path.

Functions§

child_relative_path
Returns a child path with collection trailing-slash semantics.
decode_relative_path
Parses a mount-relative request path and returns its canonical decoded representation.
display_name
Returns the final decoded segment for DAV display-name generation.
encode_href
Percent-encodes a DAV href while preserving path separators.
href_for_dav_path
Builds an encoded href from a mount prefix and canonical DAV path.
href_for_relative
Builds an encoded href from a mount prefix and decoded relative path.
parent_relative_path
Returns the canonical parent collection path.