Change root folder of the file system
AAverin opened this issue · comments
Anton Averin commented
Is your feature request related to a problem? Please describe.
I am writing an abstraction for my service that uses vfs.FileSystem.
For the Cloud setup I plan to use S3 implementation writing into a bucket.
For the local implementation I want to use some folder, just to test that files save correctly.
It doesn't seem to be possible to move vfs.Filesystem into a particular folder without changing into vfs.Location interface
Describe the solution you'd like
It would be great to see more methods working with the os
filesystem, including an option to move into a particular folder and use it as a root of file-system.