diff options
-rw-r--r-- | src/os/file.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/os/file.go b/src/os/file.go index 9f247dc6e..de971fb79 100644 --- a/src/os/file.go +++ b/src/os/file.go @@ -145,12 +145,12 @@ const ( // A FileInfo describes a file and is returned by Stat and Lstat. type FileInfo interface { - Name() string // base name of the file - Size() int64 // length in bytes for regular files; system-dependent for others - Mode() FileMode // file mode bits + Name() string // base name of the file + Size() int64 // length in bytes for regular files; system-dependent for others + Mode() FileMode // file mode bits // ModTime() time.Time // modification time - IsDir() bool // abbreviation for Mode().IsDir() - Sys() interface{} // underlying data source (can return nil) + IsDir() bool // abbreviation for Mode().IsDir() + Sys() interface{} // underlying data source (can return nil) } // Stat is a stub, not yet implemented |