Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileInfoDirEntry ¶
FileInfoDirEntry 提供了一个从 os.FileInfo 到 fs.DirEntry 的适配器
func (FileInfoDirEntry) Info ¶
func (d FileInfoDirEntry) Info() (fs.FileInfo, error)
Info 返回文件信息,实现 fs.DirEntry 接口的 Info 方法 返回:
- fs.FileInfo 文件信息
- error 错误信息,如果有
func (FileInfoDirEntry) Type ¶
func (d FileInfoDirEntry) Type() fs.FileMode
Type 返回文件模式类型,实现 fs.DirEntry 接口的 Type 方法 返回:
- fs.FileMode 文件模式类型
Click to show internal directories.
Click to hide internal directories.