Documentation ¶
Index ¶
- type Info
- func (i *Info) Basic() os.FileInfo
- func (i *Info) Batch() (bool, int64, int64, uint32)
- func (i *Info) Error() error
- func (i *Info) Exist() bool
- func (i *Info) Md5() (string, error)
- func (i *Info) Mode32() uint32
- func (i *Info) ModifyTime() int64
- func (i *Info) ModifyTime64() int64
- func (i *Info) Path() string
- func (i *Info) Size() int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { LinkTarget string // contains filtered or unexported fields }
Info describe the os.FileInfo and handle some actions
func GetFileInfoByEnumDir ¶
get file info by enum dir TODO : not ok for linux, do not call in linux
func (*Info) ModifyTime ¶
ModifyTime return the nano-second of this file's mod time
func (*Info) ModifyTime64 ¶
ModifyTime64 return the ModifyTime as int64
Click to show internal directories.
Click to hide internal directories.