Skip to content

Commit

Permalink
feat(command): merge file ls and ls
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
  • Loading branch information
overbool committed Sep 20, 2018
1 parent 987fef1 commit a254b9e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions core/commands/ls.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ the following format:
<link base58 hash> <link size in bytes> <link name>
The JSON output contains type information.
The path can be a prefixless ref; in this case, we assume it to be an
/ipfs ref and not /ipns.
Example:
> ipfs file ls QmW2WQi7j6c7UgJTarActp7tDNikE4B2qXtFCfLPdsgaTQ
cat.jpg
> ipfs file ls /ipfs/QmW2WQi7j6c7UgJTarActp7tDNikE4B2qXtFCfLPdsgaTQ
cat.jpg
`,
},

Expand Down

0 comments on commit a254b9e

Please # to comment.