mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-12-04 05:43:27 +01:00
One copier and one zip transport serve archive, restore, and every profile copy, so locked-file handling has one home. Dropping otiai10/copy takes x/sync out of every binary and testing out of the Windows exe.
11 lines
272 B
Go
11 lines
272 B
Go
//go:build !windows
|
|
|
|
package snapshot
|
|
|
|
import "errors"
|
|
|
|
// copyLocked exists for the build only: file locks outside Windows are advisory and never block a reader.
|
|
func copyLocked(_, _ string) error {
|
|
return errors.New("locked file copy not supported on this platform")
|
|
}
|