makeDirectory method

void makeDirectory(
  1. String dirname
)

Implementation

void makeDirectory(String dirname) async {
  try {
    await fileOperations.createDirectory(dirname);
    sendResponse('257 "$dirname" created');
  } catch (e) {
    sendResponse('550 Failed to create directory, error: $e');
    logger.generalLog('Error creating directory: $e');
  }
}