mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-28 09:55:36 +01:00
24 lines
447 B
Go
24 lines
447 B
Go
package fsnil
|
|
|
|
import (
|
|
"github.com/VictoriaMetrics/VictoriaMetrics/lib/backup/common"
|
|
)
|
|
|
|
// FS represents nil remote filesystem.
|
|
type FS struct{}
|
|
|
|
// MustStop stops fs.
|
|
func (fs *FS) MustStop() {
|
|
// Nothing to do
|
|
}
|
|
|
|
// String returns human-readable string representation for fs.
|
|
func (fs *FS) String() string {
|
|
return "fsnil"
|
|
}
|
|
|
|
// ListParts returns all the parts from fs.
|
|
func (fs *FS) ListParts() ([]common.Part, error) {
|
|
return nil, nil
|
|
}
|