vocker 0.2.0__py3-none-any.whl → 0.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vocker/cli.py +1 -2
- vocker/dedup.py +913 -676
- vocker/dedup_models.py +204 -49
- vocker/repo/io.py +7 -0
- vocker/system.py +30 -7
- vocker/util.py +6 -4
- {vocker-0.2.0.dist-info → vocker-0.3.0.dist-info}/METADATA +5 -5
- {vocker-0.2.0.dist-info → vocker-0.3.0.dist-info}/RECORD +10 -10
- {vocker-0.2.0.dist-info → vocker-0.3.0.dist-info}/WHEEL +0 -0
- {vocker-0.2.0.dist-info → vocker-0.3.0.dist-info}/top_level.txt +0 -0
vocker/cli.py
CHANGED
|
@@ -170,13 +170,12 @@ repository operation was interrupted (via a crash, an unexpected power loss, or
|
|
|
170
170
|
|
|
171
171
|
if max_age is not None:
|
|
172
172
|
logger.info("Deleting unused files.", data_max_age_seconds=max_age)
|
|
173
|
-
dedup.update_all_orphaned()
|
|
174
173
|
dedup.garbage_collect_dedup_files(max_age)
|
|
175
174
|
|
|
176
175
|
def _info(dedup):
|
|
177
176
|
return {
|
|
178
177
|
"corrupted": [c.to_json() for c in dedup.corrupted_list()],
|
|
179
|
-
"#comments": [
|
|
178
|
+
"#comments": [],
|
|
180
179
|
}
|
|
181
180
|
|
|
182
181
|
result = {"dedup": {k: _info(v) for k, v in d.items()}, "comments": []}
|