Commit Graph

1 Commits (ef1c2a228019587d02e254904593490da812af05)

Author SHA1 Message Date
James Scott ef1c2a2280
util/sparse: add a sparse file PunchAt method
Adds support for sparse file hole punching in linux, windows, and
darwin. Also adds a generic PunchAt method that just writes zeros
instead of using the file Punch syscall.

Updates tailscale/corp#21363

Signed-off-by: James Scott <jim@tailscale.com>
11 months ago