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-dms3
Commits
0e8e3ccc
Commit
0e8e3ccc
authored
10 years ago
by
Brian Tiger Chow
Committed by
Juan Batiz-Benet
10 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs(ls) help
parent
229b22f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
core/commands2/ls.go
core/commands2/ls.go
+10
-1
No files found.
core/commands2/ls.go
View file @
0e8e3ccc
...
...
@@ -26,7 +26,16 @@ var lsCmd = &cmds.Command{
Arguments
:
[]
cmds
.
Argument
{
cmds
.
Argument
{
"object"
,
cmds
.
ArgString
,
false
,
true
},
},
Help
:
"TODO"
,
// TODO UsageLine: "ls",
// TODO Short: "List links from an object.",
Help
:
`ipfs ls <ipfs-path> - List links from an object.
Retrieves the object named by <ipfs-path> and displays the links
it contains, with the following format:
<link base58 hash> <link size in bytes> <link name>
`
,
Run
:
func
(
res
cmds
.
Response
,
req
cmds
.
Request
)
{
node
:=
req
.
Context
()
.
Node
...
...
This diff is collapsed.
Click to expand it.
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