Skip to content

Commit

Permalink
expose data transfer manager for autoretrieve
Browse files Browse the repository at this point in the history
  • Loading branch information
en0ma committed Oct 21, 2022
1 parent ef7b47a commit f888b84
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions filclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,10 @@ func NewClientWithConfig(cfg *Config) (*FilClient, error) {
return fc, nil
}

func (fc *FilClient) GetDtMgr() datatransfer.Manager {
return fc.dataTransfer
}

func (fc *FilClient) SetPieceCommFunc(pcf GetPieceCommFunc) {
fc.computePieceComm = pcf
}
Expand Down

0 comments on commit f888b84

Please sign in to comment.