Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report export functionality #43

Merged
merged 8 commits into from
Dec 16, 2023
Merged

Report export functionality #43

merged 8 commits into from
Dec 16, 2023

Conversation

thushan
Copy link
Owner

@thushan thushan commented Dec 15, 2023

Long overdue report export functionality for the ASV club dedupe run.

  "_meta": {
    "config": {
    ...
    },
    "version": "v0.0.x",
    "commit": "xyz",
    "host": "???",
    "user": "???",
    "timestamp": "???"
  },
  "analysis": {
    "fails": [],
    "empty": [],
    "dupes": [],
  },
  "summary": {
    "top": [
      { "hash": "xyz", "size": 1234}
    ],
    "duplicateFileSize": 12345,
    "totalFiles": 123,
    "totalFileFails": 123,
    "elapsedTime": 123,
    "uniqueFiles": 123,
    "emptyFiles": 123,
    "duplicateFiles": 123
}

Duplicates are simpler representations:

"duplicates": [
          {
            "filename": "_DSC0965.JPG",
            "location": "H:\\Photos",
            "fullName": "H:\\Photos\\Profile\\Newester\\_DSC0965.JPG",
            "path": "Profile\\Newester",
            "hash": "aec269b79377b969",
            "size": 5537792,
            "fullHash": false
          },
          {
            "filename": "_DSC0965.JPG",
            "location": "H:\\Photos",
            "fullName": "H:\\Photos\\_sort\\_DSC0965.JPG",
            "path": "_sort",
            "hash": "aec269b79377b969",
            "size": 5537792,
            "fullHash": false
          }
        ],
        "filename": "_DSC0965.JPG",
        "location": "H:\\Photos",
        "fullName": "H:\\Photos\\Profile\\Newester\\_DSC0965.JPG",
        "path": "Profile\\Newester",
        "hash": "aec269b79377b969",
        "size": 5537792,
        "fullHash": false
      }
]

@thushan thushan merged commit 100891a into main Dec 16, 2023
2 checks passed
@thushan thushan deleted the report-export branch December 16, 2023 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant