Module uri

Module uri 

Source
Expand description

URI handling utilities for v4 API URI handling utilities for Cloudreve v4 API

This module provides utilities for converting file paths to the Cloudreve URI format and validating URIs according to the Cloudreve API specification.

Constants§

CLOUDREVE_URI_PREFIX
Cloudreve URI prefix for user files

Functions§

is_valid_uri
Validates if a string is a properly formatted Cloudreve URI
path_to_uri
Converts a file path to Cloudreve URI format
paths_to_uris
Converts multiple paths to URIs
uri_to_path
Extracts the path component from a Cloudreve URI