Merge branch '8567-moar-docker' refs #8567
[arvados.git] / sdk / go / keepclient / collectionreader.go
index 61fabefacdd5ee937faab81c792370bd8af2c675..344a70c50bf09798e27bb41187fbdcb4d8d35b6e 100644 (file)
@@ -35,9 +35,9 @@ const (
 // parameter when retrieving the collection record).
 var ErrNoManifest = errors.New("Collection has no manifest")
 
-// CollectionFileReader returns a Reader that reads file content from
-// a collection. The filename must be given relative to the root of
-// the collection, without a leading "./".
+// CollectionFileReader returns a Reader that reads content from a single file
+// in the collection. The filename must be relative to the root of the
+// collection.  A leading prefix of "/" or "./" in the filename is ignored.
 func (kc *KeepClient) CollectionFileReader(collection map[string]interface{}, filename string) (Reader, error) {
        mText, ok := collection["manifest_text"].(string)
        if !ok {