-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Migrate full functionality of ipfs file ls
to ipfs ls
#3081
Comments
ipfs file ls
in preference of ipfs ls
ipfs file ls
to ipfs ls
From looking at the code, the main difference seems to be that
Note, furthermore, that |
From #4580: Another difference, and this is a big point for us at ipfs-search.com, it does not tell us the type of the requested file: {
"Objects": [
{
"Hash": "/ipfs/QmYcutogfHrrxigzVw2Vi8P1cdiuXNn9VecL9cy95wB9MP",
"Links": [
{
"Name": "reindex",
"Hash": "Qmac74sj9SgTVVVHFgWrFL6wyUQ8k8sgK4LYcEPTNoz3jW",
"Size": 18132,
"Type": 1
}
]
}
]
}
{
"Arguments": {
"/ipfs/QmYcutogfHrrxigzVw2Vi8P1cdiuXNn9VecL9cy95wB9MP": "QmYcutogfHrrxigzVw2Vi8P1cdiuXNn9VecL9cy95wB9MP"
},
"Objects": {
"QmYcutogfHrrxigzVw2Vi8P1cdiuXNn9VecL9cy95wB9MP": {
"Hash": "QmYcutogfHrrxigzVw2Vi8P1cdiuXNn9VecL9cy95wB9MP",
"Size": 0,
"Type": "Directory",
"Links": [
{
"Name": "reindex",
"Hash": "Qmac74sj9SgTVVVHFgWrFL6wyUQ8k8sgK4LYcEPTNoz3jW",
"Size": 18132,
"Type": "Directory"
}
]
}
}
} |
Note that However, there might be issues with listing particular kinds of directories, like HAMT, for which there might be interpretative conflicts between |
Closing this as we are tracking it in the #7493 meta issue |
Version/Platform/Processor information (from
ipfs version --all
):0.4.3-rc3
Type (bug, feature, meta, test failure, question): question
Area (api, commands, daemon, fuse, etc): commands
Priority (from P0: functioning, to P4: operations on fire): P3
Description:
As explained in #3057 (comment), the
ipfs file ls
command is basically deprecated in favor ofipfs ls
, awaiting the migration of some of its functionality.What functionality is currently in
ipfs file ls
that needs to be moved and what will be the (rough) deprecation plan foripfs file ls
?The text was updated successfully, but these errors were encountered: