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 18:39:55 +01:00
return "fsnil"
}
// ListParts returns all the parts from fs.
func (fs *FS) ListParts() ([]common.Part, error) {
return nil, nil
}