Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileInfo ¶
type FileInfo interface {
// Name returns the file name.
Name() string
// Size returns the file size.
Size() int64
// Mode returns the file mode.
Mode() os.FileMode
// IsDir reports whether the file is a directory.
IsDir() bool
// IsFile reports whether the file is a regular file.
IsFile() bool
// Sys returns the underlying system data.
Sys() any
// CreateTime returns the file creation time.
CreateTime() time.Time
// ModifyTime returns the file modification time.
ModifyTime() time.Time
}
Click to show internal directories.
Click to hide internal directories.