getDataBasePath method

Future<String> getDataBasePath(
  1. String studyDeploymentId
)

The base path for storing all data (e.g. media files).

<localApplicationPath>/carp/deployments/<study_deployment_id>/data

Implementation

Future<String> getDataBasePath(
  String studyDeploymentId,
) async => (await Directory(
  '${await getDeploymentBasePath(studyDeploymentId)}/$CARP_DATA_FILE_PATH',
).create(recursive: true)).path;