[ARVADOS] updated: d95e6df5184ab2ec137c8098b47caf9ebcf4e7d9

Git user git at public.curoverse.com
Thu Feb 9 16:58:32 EST 2017


Summary of changes:
 sdk/go/manifest/manifest.go | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

       via  d95e6df5184ab2ec137c8098b47caf9ebcf4e7d9 (commit)
      from  7b4c1b70b7d1ef4c977c57c89c4dc0f479e7e5ae (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit d95e6df5184ab2ec137c8098b47caf9ebcf4e7d9
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Thu Feb 9 16:58:23 2017 -0500

    9397: Tweak method documentation for Extract()

diff --git a/sdk/go/manifest/manifest.go b/sdk/go/manifest/manifest.go
index 3d4d208..cb60560 100644
--- a/sdk/go/manifest/manifest.go
+++ b/sdk/go/manifest/manifest.go
@@ -463,21 +463,21 @@ func (m segmentedManifest) manifestTextForPath(srcpath, relocate string) string
 // If 'srcpath' and 'relocate' are '.' it simply returns an equivalent manifest
 // in normalized form.
 //
-//   Extract(".", ".")  (return entire normalized manfest text)
+//   Extract(".", ".")  // return entire normalized manfest text
 //
 // If 'srcpath' points to a single file, it will return manifest text for just that file.
 // The value of "relocate" is can be used to rename the file or set the file stream.
 //
-//   Extract("./foo", ".")  (extract file "foo" and put it in stream ".")
-//   Extract("./foo", "./bar")  (extract file "foo", rename it to "bar" in stream ".")
-//   Extract("./foo", "./bar/") (extract file "foo", rename it to "./bar/foo")
-//   Extract("./foo", "./bar/baz") (extract file "foo", rename it to "./bar/baz")
+//   Extract("./foo", ".")          // extract file "foo" and put it in stream "."
+//   Extract("./foo", "./bar")      // extract file "foo", rename it to "bar" in stream "."
+//   Extract("./foo", "./bar/")     // extract file "foo", rename it to "./bar/foo"
+//   Extract("./foo", "./bar/baz")  // extract file "foo", rename it to "./bar/baz")
 //
 // Otherwise it will return the manifest text for all streams with the prefix in "srcpath" and place
 // them under the path in "relocate".
 //
-//   Extract("./stream", ".")  (extract "./stream" to "." and "./stream/subdir" to "./subdir")
-//   Extract("./stream", "./bar")  (extract "./stream" to "./bar" and "./stream/subdir" to "./bar/subdir")
+//   Extract("./stream", ".")      // extract "./stream" to "." and "./stream/subdir" to "./subdir")
+//   Extract("./stream", "./bar")  // extract "./stream" to "./bar" and "./stream/subdir" to "./bar/subdir")
 func (m Manifest) Extract(srcpath, relocate string) (ret Manifest) {
 	segmented, err := m.segment()
 	if err != nil {

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list