Golang virtual file system based on afero
go get github.com/goxiaoy/vfs
v := vfs.New() //vfs implements afero.Fs
v.Mount("/", afero.NewMemMapFs()) //second prameter could be any afero.Fs
v.Mount("/abc", afero.NewMemMapFs())
v.Mount("/a/b/c/d", afero.NewMemMapFs())
f,err := v.Create("/a/test.txt") // Creat file, for all functions see https://github.com/spf13/afero#list-of-all-available-functions
Extra blob interface
type Blob interface {
FS
Linker
//TODO
//Mover
//Copier
//Lister
}
- Metadata storage
- Data At Rest Encryption (DARE)
https://github.com/embeddedgo/go
https://github.com/spf13/afero