mirror of
https://github.com/zrepl/zrepl.git
synced 2025-02-02 03:29:13 +01:00
c69ebd3806
cmd subdir does not build on purpose, it's only left in tree to grab old code and move it to github.com/zrepl/zrepl/daemon
16 lines
304 B
Go
16 lines
304 B
Go
package filters
|
|
|
|
import "github.com/zrepl/zrepl/zfs"
|
|
|
|
type AnyFSVFilter struct{}
|
|
|
|
func NewAnyFSVFilter() AnyFSVFilter {
|
|
return AnyFSVFilter{}
|
|
}
|
|
|
|
var _ zfs.FilesystemVersionFilter = AnyFSVFilter{}
|
|
|
|
func (AnyFSVFilter) Filter(t zfs.VersionType, name string) (accept bool, err error) {
|
|
return true, nil
|
|
}
|