Hi guys, I just dropped initial sftp backend but i'm a bit stuck how to implement the file interface.
Hmm forget the previous "stuck how to implement", finaly got it working :-). spf13/afero#47
Hi. Is there any way to open / read files from afero mem fs using the std packages os / ioutil etc?
Bjørn Erik Pedersen
Any idea why I get bad file descriptor when writing to a file I've just opened?
@spf13 Hey I just wanted to express my appreciation for an incredibly powerful abstraction system. Afero is awesome!
@spf13 Does afero support symbolic links?
Urjit Singh Bhatia
Hey guys, noob, maybe bizarre question - If I implement afero.Fs in my code, is there a way I can run afero_test on that implementation?
short of copying it...
Hi. I just bumped into afero while searching for Go file utilities - looks interesting! My reason for searching is that I implemented a file copy utility (think programmatic equivalent of cp with many of the same features) some years back and recently have been using it in the riff open source project. See the godoc for an idea of what's there: https://github.com/projectriff/riff/tree/master/pkg/fileutils. Since file copying isn't the focus of riff, I'm considering weaning riff off its own file utilities and using something else instead. Has file copying been considered for inclusion in afero? I know there were objections to including a file copy utility in the Go standard library, but I'm hoping those don't apply to a project like afero...
(signed in again using github instead of Twitter)
Bjørn Erik Pedersen
File copying isn't the focus of Afero, either.
Too bad, but thanks for letting me know.
Hi guys, quick question in terms of testing do you have more resources that talk about how testing is been done with afero, maybe examples on how it is being used and tested in a project?
Hugo uses afero for all file operations, including tests
hi, can we mount a local folder to afero? I want to mount one of my local folder(simply make a copy of dir with subdirs to afero) and change one file and create a zip archive
Hey guys! What a great tool, I could set up testing with afero mem-fs right away. Only thing I'm missing is symlinks, any clues on if this is coming or not?