iroh icon indicating copy to clipboard operation
iroh copied to clipboard

`iroh blob add` uses absolute paths instead of the relative directory

Open b5 opened this issue 2 years ago • 2 comments

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.

b5 avatar Apr 19 '24 01:04 b5

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.

cameronfyfe avatar Apr 19 '24 01:04 cameronfyfe

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.

cameronfyfe avatar Apr 19 '24 01:04 cameronfyfe

closing as stale

b5 avatar Oct 10 '24 09:10 b5