Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #505 from Starnop/task-info
Browse files Browse the repository at this point in the history
feature: add httpFileLength field for taskInfo
  • Loading branch information
lowzj authored Apr 22, 2019
2 parents 477738f + 4e82e8e commit a5d510a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
8 changes: 7 additions & 1 deletion apis/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,13 @@ definitions:
fileLength:
type: "integer"
description: |
The length of the file dfget requests to download in bytes.
The length of the file dfget requests to download in bytes
which including the header and the trailer of each piece.
format: "int64"
httpFileLength:
type: "integer"
description: |
The length of the source file in bytes.
format: "int64"
pieceSize:
type: "integer"
Expand Down
7 changes: 6 additions & 1 deletion apis/types/task_info.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a5d510a

Please sign in to comment.