12416: Merge Put() into PutReader().
[arvados.git] / sdk / go / arvados / collection_fs.go
index 89b296e3b527facfe8a14f81e8d055dbb3de5ef0..f80180f8ed39d2c1c4a9c60500cea2f2967906e4 100644 (file)
@@ -1,3 +1,7 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: Apache-2.0
+
 package arvados
 
 import (
@@ -188,8 +192,6 @@ func (c *collectionFS) Open(name string) (http.File, error) {
        // entries below it.
        children := map[string]collectionDirent{}
        for fnm, size := range filesizes {
-               if fnm == name {
-               }
                if !strings.HasPrefix(fnm, name+"/") {
                        continue
                }