spf13 / afero

A FileSystem Abstraction System for Go
Apache License 2.0
5.98k stars 514 forks source link

feat: base go-diskfs filesystem implementation #427

Closed shanduur closed 5 months ago

shanduur commented 5 months ago

As stated in linked issue, this implements affero.Fs for the go-diskfs filesystem.FileSystem interface.

I added some basic tests, some of the methods have naive implementations.

Please check if the errors returned by the unsupported methods make sense.

Closes #426

shanduur commented 5 months ago

Partialy supported by IoFs (see https://github.com/diskfs/go-diskfs/pull/184), might be reopened if permissions are supported by go-diskfs.