Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ls: introduce specific output types #912

Merged
merged 1 commit into from
Mar 10, 2015
Merged

ls: introduce specific output types #912

merged 1 commit into from
Mar 10, 2015

Conversation

cryptix
Copy link
Contributor

@cryptix cryptix commented Mar 10, 2015

This PR removes IsDir from the object plumbing commands, as discussed in #907.

  • It introduces new LsLink type, which is like the old Link but with a Type field.

Maybe this can be carried over to the latter unixfs specific commands?

  • It removes func marshalLinks().

They were only used by the marshalers in ipfs ls and ipfs object links. SInce they operate on different types now, there is no reuse that makes it useful.

@btc btc added the status/in-progress In progress label Mar 10, 2015
@jbenet
Copy link
Member

jbenet commented Mar 10, 2015

LGTM!

jbenet added a commit that referenced this pull request Mar 10, 2015
ls: introduce specific output types
@jbenet jbenet merged commit 1f1f9f9 into master Mar 10, 2015
@jbenet jbenet removed the status/in-progress In progress label Mar 10, 2015
@jbenet jbenet deleted the fix/isDirOnObject branch March 10, 2015 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants