MCPcopy Create free account
hub / github.com/tailscale/tailscale / SetOnFile

Function SetOnFile

util/quarantine/quarantine.go:12–14  ·  view source on GitHub ↗

SetOnFile sets the platform-specific quarantine attribute (if any) on the provided file.

(f *os.File)

Source from the content-addressed store, hash-verified

10// SetOnFile sets the platform-specific quarantine attribute (if any) on the
11// provided file.
12func SetOnFile(f *os.File) error {
13 return setQuarantineAttr(f)
14}

Callers 1

receiveFileFunction · 0.92

Calls 1

setQuarantineAttrFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…