xdg icon indicating copy to clipboard operation
xdg copied to clipboard

Custom file system support?

Open nathanhammond opened this issue 2 years ago • 4 comments

Hello @adrg! Would you be interested in a pull request that enabled custom file system support? (e.g. afero)

nathanhammond avatar May 03 '22 03:05 nathanhammond

Hi @nathanhammond. Thank you for your interest in the library. Sure, that would be great.

I assume the PR would add an interface which defines all permitted file system operations and a 'local fs' implementation of that interface, which would be the default?

adrg avatar May 03 '22 10:05 adrg

If that's the implementation that you feel like makes the most sense, then, yes!

I'll get you a draft PR for your consideration up shortly.

nathanhammond avatar May 03 '22 11:05 nathanhammond

Sorry, I was just wondering if you were thinking of something along those lines :smile:. I'm not sure if it's the best way to do it, just my initial thoughts on this.

adrg avatar May 03 '22 12:05 adrg

@nathanhammond are you working on it? Because I'm also interested in it hehe.

xescugc avatar May 18 '22 09:05 xescugc