Hi guys, I just dropped initial sftp backend but i'm a bit stuck how to implement the file interface.
Jerry Jacobs
@xor-gate
Hmm forget the previous "stuck how to implement", finaly got it working :-). spf13/afero#47
Alexandru Dreptu
@alexdreptu
Hi. Is there any way to open / read files from afero mem fs using the std packages os / ioutil etc?
Bjørn Erik Pedersen
@bep
no
Bradley Weston
@bweston92
Any idea why I get bad file descriptor when writing to a file I've just opened?
Joel Cornett
@jncornett
@spf13 Hey I just wanted to express my appreciation for an incredibly powerful abstraction system. Afero is awesome!
Shawn Adams
@boris317
@spf13 Does afero support symbolic links?
Urjit Singh Bhatia
@urjitbhatia
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...
Cameron Moore
@moorereason
No
Glyn Normington
@glynnormington_twitter
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...
Glyn Normington
@glyn
(signed in again using github instead of Twitter)
Bjørn Erik Pedersen
@bep
File copying isn't the focus of Afero, either.
Glyn Normington
@glyn
Too bad, but thanks for letting me know.
Fabian Baier
@baierSF_twitter
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?
Cameron Moore
@moorereason
Hugo uses afero for all file operations, including tests
Kasun Vithanage
@kasvith
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
Carl Berglund
@CHURLZ
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?