Merge pull request #8337 from Lyndon-Li/fix-windows-cli-compile-problem

Fix Windows cli compile problem
pull/8338/head
lyndon-li 2024-10-23 15:29:30 +08:00 committed by GitHub
commit a9b5dbc0fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ type BlockOutput struct {
targetFileName string
}
func (o *BlockOutput) WriteFile(ctx context.Context, relativePath string, remoteFile fs.File) error {
func (o *BlockOutput) WriteFile(ctx context.Context, relativePath string, remoteFile fs.File, progressCb restore.FileWriteProgress) error {
return fmt.Errorf("block mode is not supported for Windows")
}