Function GenericPath.Segment.fromTrustedEncodedString
Constructs a path segment without performing validation.
static GenericPath . Segment fromTrustedEncodedString
(
string encoded_name,
char separator = '\0'
) pure nothrow @nogc;
Note that in debug builds, there are still assertions in place that verify that the provided values are valid.
Parameters
Name | Description |
---|---|
encoded_name | The encoded name of the path segment |
separator | Optional trailing path separator (e.g. '/' ) |