18600: Update comment.
authorTom Clegg <tom@curii.com>
Thu, 10 Feb 2022 20:29:38 +0000 (15:29 -0500)
committerTom Clegg <tom@curii.com>
Thu, 10 Feb 2022 20:29:38 +0000 (15:29 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

sdk/go/arvados/fs_base.go

index 719e0e08ac38aa6deeca3148b28ff698d2ba7f89..5bccdc51db19fc4a82cc8e008a63970bd86765f8 100644 (file)
@@ -742,7 +742,7 @@ func Snapshot(fs FileSystem, path string) (*Subtree, error) {
 //
 // Splice returns an error if target is not inside a collection.
 //
-// Splice returns an error if target is an existing directory and
+// Splice returns an error if target is the root of a collection and
 // newsubtree is a snapshot of a file.
 func Splice(fs FileSystem, target string, newsubtree *Subtree) error {
        f, err := fs.OpenFile(target, os.O_WRONLY, 0)