13100: Update comment.
[arvados.git] / services / crunch-run / copier.go
index 273ec7917b183d4957d3b1467f57c250f734d91d..b6093ce092933fbbf52dd39903540a28515471ba 100644 (file)
@@ -45,11 +45,9 @@ type filetodo struct {
 // Symlinks to other parts of the container's filesystem result in
 // errors.
 //
-// To use a copier: first call walkMount() to inspect the output
-// directory, grab the necessary parts of already-stored collections,
-// and prepare a list of files that need to be copied from the local
-// filesystem; then call commit() to copy the file data and return a
-// complete output manifest.
+// Use:
+//
+//     manifest, err := (&copier{...}).Copy()
 type copier struct {
        client        *arvados.Client
        arvClient     IArvadosClient