VictoriaMetrics/lib/backup/fsnil/fsnil.go

19 lines
377 B
Go
Raw Normal View History

package fsnil
import (
"github.com/VictoriaMetrics/VictoriaMetrics/lib/backup/common"
)
// FS represents nil remote filesystem.
type FS struct{}
// String returns human-readable string representation for fs.
func (fs *FS) String() string {
2020-03-10 17:39:55 +00:00
return "fsnil"
}
// ListParts returns all the parts from fs.
func (fs *FS) ListParts() ([]common.Part, error) {
return nil, nil
}