storageRequestPath function

String storageRequestPath(
  1. String path
)

Implementation

String storageRequestPath(String path) {
  while (path.startsWith('./')) {
    path = path.substring(2);
  }
  path = path.replaceAll(RegExp(r'^/+|/+$'), '');
  return validateFilePath(path == '.' ? '' : path);
}