code: public long getRepositoryDataSizeDirectly() throws QuotaManagerException
     {
        long size = 0;
        for (WorkspaceQuotaManager wQuotaManager : wsQuotaManagers.values())
        {
           size += wQuotaManager.getWorkspaceDataSizeDirectly();
        }
  
        return size;
     }
docs: Returns repository data size by summing size of all workspaces.