]> ruderich.org/simon Gitweb - safcm/safcm.git/blob - remote/sync/files_compat_windows.go
Use SPDX license identifiers
[safcm/safcm.git] / remote / sync / files_compat_windows.go
1 // MsgSyncReq: copy files to the remote host; Windows compatibility
2
3 // SPDX-License-Identifier: GPL-3.0-or-later
4 // Copyright (C) 2021-2024  Simon Ruderich
5
6 package sync
7
8 import (
9         "fmt"
10         "os"
11 )
12
13 // Windows remote hosts are not supported. However, the local safcm binary
14 // imports safcm-remote which fails to build with the regular files.go.
15
16 func (s *Sync) syncFiles() error {
17         return fmt.Errorf("not implemented on Windows")
18 }
19
20 func OpenFileNoSymlinks(path string) (*os.File, error) {
21         return nil, fmt.Errorf("not implemented on Windows")
22 }