summaryrefslogtreecommitdiff
path: root/src/backend/metadata.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/metadata.py')
-rw-r--r--src/backend/metadata.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/backend/metadata.py b/src/backend/metadata.py
deleted file mode 100644
index f906c95..0000000
--- a/src/backend/metadata.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/python3
-
-import animation
-import os
-import shutil
-import subprocess
-import sisyphus.filesystem
-
-def purge():
- if os.path.isdir(sisyphus.filesystem.portageMetadataDir):
- for files in os.listdir(sisyphus.filesystem.portageMetadataDir):
- if os.path.isfile(os.path.join(sisyphus.filesystem.portageMetadataDir, files)):
- os.remove(os.path.join(sisyphus.filesystem.portageMetadataDir, files))
- else:
- shutil.rmtree(os.path.join(sisyphus.filesystem.portageMetadataDir, files))