mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
parent
311973ea56
commit
12befd063b
3 changed files with 7 additions and 1 deletions
|
|
@ -17,6 +17,8 @@ type dirInfo struct {
|
|||
usefirststat bool
|
||||
}
|
||||
|
||||
const DevNull = "NUL"
|
||||
|
||||
func (file *File) isdir() bool { return file != nil && file.dirinfo != nil }
|
||||
|
||||
func openFile(name string, flag int, perm int) (file *File, err Error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue