Skip to content

Report export functionality#43

Merged
thushan merged 8 commits intomainfrom
report-export
Dec 16, 2023
Merged

Report export functionality#43
thushan merged 8 commits intomainfrom
report-export

Conversation

@thushan
Copy link
Copy Markdown
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
@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