lib/versioner: Restore for all versioners, cross-device support (#5514)
* lib/versioner: Restore for all versioners, cross-device support Fixes #4631 Fixes #4586 Fixes #1634 Fixes #5338 Fixes #5419
This commit is contained in:
committed by
GitHub
parent
2984d40641
commit
0ca1f26ff8
@@ -12,6 +12,7 @@ import (
|
||||
"os/exec"
|
||||
"runtime"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/syncthing/syncthing/lib/fs"
|
||||
|
||||
@@ -103,3 +104,11 @@ func (v External) Archive(filePath string) error {
|
||||
}
|
||||
return errors.New("Versioner: file was not removed by external script")
|
||||
}
|
||||
|
||||
func (v External) GetVersions() (map[string][]FileVersion, error) {
|
||||
return nil, ErrRestorationNotSupported
|
||||
}
|
||||
|
||||
func (v External) Restore(filePath string, versionTime time.Time) error {
|
||||
return ErrRestorationNotSupported
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user