os: add ModeType constant to mask file type bits
This covers the lack of IsRegular comfortably: if stat.Mode()&os.ModeType == 0 { ... } R=golang-dev, r, rsc, r, gustavo CC=golang-dev https://golang.org/cl/5440075
Showing
Please register or sign in to comment