code: private int rmInternal(String path) {
      final AlluxioURI turi = mPathResolverCache.getUnchecked(path);
  
      try {
        mFileSystem.delete(turi);
      } catch (FileDoesNotExistException | InvalidPathException e) {
        LOG.debug("Failed to remove {}, file does not exist or is invalid", path);
        return -ErrorCodes.ENOENT();
      } catch (Throwable t) {
        LOG.error("Failed to remove {}", path, t);
        return AlluxioFuseUtils.getErrorCode(t);
      }
  
      return 0;
    }
docs: Convenience internal method to remove files or non-empty directories.
  
  @param path The path to remove
  @return 0 on success, a negative value on error