blob: 48c032d06cfcba95c524335f7c359628093cdcf2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright (c) Tailscale Inc & contributors
// SPDX-License-Identifier: BSD-3-Clause
// Package quarantine sets platform specific "quarantine" attributes on files
// that are received from other hosts.
package quarantine
import "os"
// SetOnFile sets the platform-specific quarantine attribute (if any) on the
// provided file.
func SetOnFile(f *os.File) error {
return setQuarantineAttr(f)
}
|