Debian Codegraph @

src/net/sendfile_nonwindows.go

raw
1 // Copyright 2025 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 //go:build linux || (darwin && !ios) || dragonfly || freebsd || solaris
6
7 package net
8
9 // Always true except for workstation and client versions of Windows
10 func supportsSendfile() bool {
11 return true
12 }