Function GenericPath.Segment.fromTrustedString
Constructs a path segment without performing validation.
Note that in debug builds, there are still assertions in place that verify that the provided values are valid.
Parameters
Name | Description |
---|---|
name | The raw (unencoded) name of the path segment |
separator | Optional trailing path separator (e.g. '/' ) |