public static void ClearCachedModData() { string modDir = IOUtilities.CombinePath(DataStorage.CACHE_DIRECTORY, "mods"); Directory.Delete(modDir); Debug.Log("[mod.io] Cached Mod Data Deleted."); }
public static void ClearCachedModData() { string modDir = IOUtilities.CombinePath(CacheClient.cacheDirectory, "mods"); if (IOUtilities.DeleteDirectory(modDir)) { Debug.Log("[mod.io] Cached Mod Data Deleted."); } }
public static void ClearCachedUserProfiles() { string usersDir = IOUtilities.CombinePath(CacheClient.cacheDirectory, "users"); if (IOUtilities.DeleteDirectory(usersDir)) { Debug.Log("[mod.io] Cached User Profiles Deleted."); } }
public static void ClearCachedModData() { string modDir = IOUtilities.CombinePath(PluginSettings.CACHE_DIRECTORY, "mods"); if (LocalDataStorage.DeleteDirectory(modDir)) { Debug.Log("[mod.io] Cached Mod Data Deleted."); } else { Debug.Log("[mod.io] Failed to clear cached Mod Data."); } }