Skip to content

Commit

Permalink
Merge pull request #105 from application-research/expose-data-trannsf…
Browse files Browse the repository at this point in the history
…er-manager-for-autoretrieve

expose data transfer manager for reusability (needed by auto-retrieve)
  • Loading branch information
en0ma authored Oct 21, 2022
2 parents ef7b47a + f888b84 commit 696b665
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 696b665

Please sign in to comment.