afero
afero copied to clipboard
ReadOnlyFs.MkdirAll should return nil if directory already exists
From the go docs of os.MkdirAll:
[...] If path is already a directory, MkdirAll does nothing and returns nil.
Related issue: https://github.com/spf13/afero/issues/191