Closed brauner closed 4 years ago
Make it return os.File so callers can simply call defer f.Close(). Callers only wanting the fd can simply call f.Fd(), so no real downsides.
Signed-off-by: Christian Brauner christian.brauner@ubuntu.com
Make it return os.File so callers can simply call defer f.Close(). Callers only wanting the fd can simply call f.Fd(), so no real downsides.
Signed-off-by: Christian Brauner christian.brauner@ubuntu.com