* ipa-icf.c (sem_item_optimizer::parse_nonsingleton_classes): Guard
[official-gcc.git] / libgo / go / os / types_notwin.go
blobea1a07393095fa1c3b3cfd2e9e5be0ed62ceef1c
1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 // +build !windows
7 package os
9 import (
10 "time"
13 // A fileStat is the implementation of FileInfo returned by Stat and Lstat.
14 type fileStat struct {
15 name string
16 size int64
17 mode FileMode
18 modTime time.Time
19 sys interface{}
22 func (fs *fileStat) Size() int64 { return fs.size }
23 func (fs *fileStat) Mode() FileMode { return fs.mode }
24 func (fs *fileStat) ModTime() time.Time { return fs.modTime }
25 func (fs *fileStat) Sys() interface{} { return fs.sys }