spf13 / afero

A FileSystem Abstraction System for Go
Apache License 2.0
5.79k stars 498 forks source link

feat: base go-diskfs filesystem implementation #427

Closed shanduur closed 1 month ago

shanduur commented 1 month 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 1 month ago

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