getDirUrl static method

Future<String> getDirUrl(
  1. String dirPath
)

Get full URL for a directory in the POD.

dirPath - Relative path to the directory. Returns full URL with trailing slash.

Implementation

static Future<String> getDirUrl(String dirPath) async {
  final fullPath = getFilePath(dirPath);
  return await PodAuth.getResourceUrl(fullPath, isContainer: true);
}