From 868e07da04ae377a88b137dfc51aa6251f1716f1 Mon Sep 17 00:00:00 2001 From: Steve Streeting Date: Thu, 19 May 2016 16:10:32 +0100 Subject: [PATCH] Fix outdated comment --- transfer/transfer.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/transfer/transfer.go b/transfer/transfer.go index 95605b08..ff0d7165 100644 --- a/transfer/transfer.go +++ b/transfer/transfer.go @@ -20,9 +20,9 @@ var ( // file content to a remote store. Each TransferAdapter accepts one or more requests // which it may schedule and parallelise in whatever way it chooses, clients of // this interface will receive notifications of progress and completion asynchronously. -// TransferAdapters support transfers in one direction; you should use implementations -// of the sub-interface UploadAdapter and DownloadAdapter for groups of items in -// a direction. +// TransferAdapters support transfers in one direction; if an implementation +// provides support for upload and download, it should be instantiated twice, +// advertising support for each direction separately. type TransferAdapter interface { // Name returns the identifier of this adapter, must be unique within a Direction // (separate sets for upload and download so may be an entry in both)