Commit bea738d 1 parent 1aa28fe commit bea738d Copy full SHA for bea738d
File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ type IJobPartTransferMgr interface {
95
95
GetS2SSourceBlobTokenCredential () azblob.TokenCredential
96
96
PropertiesToTransfer () common.SetPropertiesFlags
97
97
ResetSourceSize () // sets source size to 0 (made to be used by setProperties command to make number of bytes transferred = 0)
98
+ SuccessfulBytesTransferred () int64
98
99
}
99
100
100
101
type TransferInfo struct {
@@ -973,3 +974,7 @@ func (jptm *jobPartTransferMgr) ShouldInferContentType() bool {
973
974
fromTo := jptm .FromTo ()
974
975
return fromTo .From () == common .ELocation .Local ()
975
976
}
977
+
978
+ func (jptm * jobPartTransferMgr ) SuccessfulBytesTransferred () int64 {
979
+ return atomic .LoadInt64 (& jptm .atomicSuccessfulBytes )
980
+ }
You can’t perform that action at this time.
0 commit comments