mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-13 23:43:40 +00:00
os: gofmt
This commit is contained in:
committed by
Ron Evans
parent
847681457f
commit
8a704e43fc
+5
-5
@@ -145,12 +145,12 @@ const (
|
|||||||
|
|
||||||
// A FileInfo describes a file and is returned by Stat and Lstat.
|
// A FileInfo describes a file and is returned by Stat and Lstat.
|
||||||
type FileInfo interface {
|
type FileInfo interface {
|
||||||
Name() string // base name of the file
|
Name() string // base name of the file
|
||||||
Size() int64 // length in bytes for regular files; system-dependent for others
|
Size() int64 // length in bytes for regular files; system-dependent for others
|
||||||
Mode() FileMode // file mode bits
|
Mode() FileMode // file mode bits
|
||||||
// ModTime() time.Time // modification time
|
// ModTime() time.Time // modification time
|
||||||
IsDir() bool // abbreviation for Mode().IsDir()
|
IsDir() bool // abbreviation for Mode().IsDir()
|
||||||
Sys() interface{} // underlying data source (can return nil)
|
Sys() interface{} // underlying data source (can return nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Stat is a stub, not yet implemented
|
// Stat is a stub, not yet implemented
|
||||||
|
|||||||
Reference in New Issue
Block a user