code: public static void setLocalWorkDir(PathImpl path, ClassLoader loader)
    {
      try {
        if (path instanceof MergePath)
          path = ((MergePath) path).getWritePath();
  
        if (path instanceof MemoryPath) {
          String pathName = path.getPath();
  
          path = WorkDir.getTmpWorkDir().lookup("qa/" + pathName);
        }
      
        // path.mkdirs();
      } catch (Exception e) {
        throw new RuntimeException(e);
      }
      
      _localWorkDir.set(path, loader);
    }
docs: Sets the work dir.