iroh
iroh copied to clipboard
`iroh blob add` uses absolute paths instead of the relative directory
Building collections from the root of the filesystem isn't great UX 😵💫. I'd expect blob add to use the input argument as the root of the collection structure.
Looking at this further I realized the collections themselves use the relative paths, it was just the cli stdout that shows the absolute paths for everything.
Seems the code that sends the progress message that prints that out is in the Store impl and at that point only has the path, it doesn't know the blob is for a collection and has a pet name in that context.
closing as stale