Commit Graph

1 Commits (bb95d3c4800c0101ae2d0b081e1856f233caf2d9)

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