You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
String cutTrailingDash(final String path) =>
|
|
path.endsWith('/') && path.length > 1
|
|
? path.substring(0, path.length - 1)
|
|
: path;
|
|
|
|
String sanitizePath(final String rawPath) => rawPath.replaceAll('/', '\\');
|