Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-unixfs
Commits
eb696d9a
Commit
eb696d9a
authored
Nov 13, 2014
by
Matt Bell
Committed by
Juan Batiz-Benet
Nov 14, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
object put: Formatted helptext
parent
537f94a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
core/commands2/object.go
core/commands2/object.go
+3
-3
No files found.
core/commands2/object.go
View file @
eb696d9a
...
@@ -198,13 +198,13 @@ It reads from stdin, and the output is a base58 encoded multihash.
...
@@ -198,13 +198,13 @@ It reads from stdin, and the output is a base58 encoded multihash.
Data should be in the format specified by <encoding>.
Data should be in the format specified by <encoding>.
<encoding> may be one of the following:
<encoding> may be one of the following:
* "protobuf"
* "protobuf"
* "json"
* "json"
`
,
`
,
},
},
Arguments
:
[]
cmds
.
Argument
{
Arguments
:
[]
cmds
.
Argument
{
cmds
.
FileArg
(
"data"
,
true
,
false
,
"Data to be stored as a DAG object
\n
Must be encoded as specified in <encoding>
"
),
cmds
.
FileArg
(
"data"
,
true
,
false
,
"Data to be stored as a DAG object"
),
cmds
.
StringArg
(
"encoding"
,
true
,
false
,
"Encoding type of <data>, either
\"
protobuf
\"
or
\"
json
\"
"
),
cmds
.
StringArg
(
"encoding"
,
true
,
false
,
"Encoding type of <data>, either
\"
protobuf
\"
or
\"
json
\"
"
),
},
},
Run
:
func
(
req
cmds
.
Request
)
(
interface
{},
error
)
{
Run
:
func
(
req
cmds
.
Request
)
(
interface
{},
error
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment