getCacheBasePath method

Future<String> getCacheBasePath(
  1. String studyDeploymentId
)

The base path for storing all cached data.

<localApplicationPath>/carp/deployments/<study_deployment_id>/cache

Implementation

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