initCodeCacheDir method

Future initCodeCacheDir()

Implementation

Future<dynamic> initCodeCacheDir() async {
  if (sCodeCacheRootDir == null) {
    var appDir = await getApplicationSupportDirectory();
    var voltronCacheDir = await createDir(appDir, "voltron");
    if (voltronCacheDir != null) {
      sCodeCacheRootDir = voltronCacheDir.absolute.path;
    }
  }
}