Skip to content

Add UploadProgress and UploadedBytes to siafile/dir

Marcin Jachymiak requested to merge add-overall-progress into master

MERGE REQUEST

Overview

This MR adds UploadProgress and UploadedBytes fields to siafile metadata, and aggregate equivalents to the siadir metadata.

I'm not familiar with the siafile and siadir modules so looking for feedback on the approach.

Changes to Work Flow

N/A

Testing Changes

Added directory progress check to setupTestDownload for tests that already wait for redundancy.

Documentation Changes

Updated API docs

Modules and Packages Impacted

siafile, siadir, node

Example for Visual changes (ie Screenshot)

N/A

Issues Closed

#3561

Checklist

Review and complete the checklist to ensure that the MR is complete before assigned to an approver.

  • Pipeline Passing (this is for NDFs where tests were run in a loop)
  • (N/A) All new methods, or updating methods have clear docstrings
  • Testing added or updated for new methods
  • API documentation updated for API updates
  • (N/A) Module README.md updated for changes to work flow
  • Issue added to Sia-UI repo for new supporting features: Sia-UI#898
Edited by Matthew Sevey

Merge request reports