Use utility function to get a file URI prefix
On Windows, we need "file:///" for local file URIs while on all other platforms the prefix is "file://" for absolute filenames. The utility function saves us from replicating the platform specific logic.
Showing
Please
register
or
sign in
to comment