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

Add mode to restic stats #270

Merged
merged 5 commits into from
Sep 18, 2019
Merged

Add mode to restic stats #270

merged 5 commits into from
Sep 18, 2019

Conversation

DeepikaDixit
Copy link
Contributor

Change Overview

Add mode param to specify stats mode

Pull request type

Please check the type of change your PR introduces:

  • Work in Progress
  • Refactoring (no functional changes, no api changes)
  • Trival/Minor
  • Bugfix
  • Feature
  • Documentation

Issues

Test Plan

The modes are:

  • restore-size: (default) Counts the size of the restored files.
  • files-by-contents: Counts total size of files, where a file is
    considered unique if it has unique contents.
  • raw-data: Counts the size of blobs in the repository, regardless of
    how many files reference them.
  • blobs-per-file: A combination of files-by-contents and raw-data.
  • Refer to the online manual for more details about each mode.
  • Manual
  • Unit test
  • E2E

@DeepikaDixit DeepikaDixit merged commit 2844431 into master Sep 18, 2019
@DeepikaDixit DeepikaDixit deleted the add-mode-stats branch September 18, 2019 00:22
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.

None yet

2 participants