github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/daemon/logger/loggerutils/file_unix.go (about) 1 // +build !windows 2 3 package loggerutils 4 5 import "os" 6 7 func openFile(name string, flag int, perm os.FileMode) (*os.File, error) { 8 return os.OpenFile(name, flag, perm) 9 }