mirror of
https://github.com/warmbly/warmbly.git
synced 2026-10-25 08:03:32 +00:00
13 lines
448 B
Go
13 lines
448 B
Go
//go:build !linux && !darwin && !freebsd && !openbsd && !netbsd && !dragonfly
|
|
|
|
package main
|
|
|
|
import "os"
|
|
|
|
// Refuse storage where POSIX owner-only modes cannot be verified.
|
|
func privateRemoteFile(_ os.FileInfo, _ bool) bool { return false }
|
|
|
|
func trustedRemoteAncestor(_ os.FileInfo) bool { return false }
|
|
func remoteNoFollow() int { return 0 }
|
|
func lockRemoteFile(_ *os.File) (bool, error) { return false, storageFailure() }
|