Documentation ¶
Index ¶
- func ErrNotDir(name string, msg ...string) error
- func ErrNotFile(name string, msg ...string) error
- func ErrNotFound(name string, msg ...string) error
- func IsErr(this error, err ...error) bool
- func IsNotDir(err error) (ok bool)
- func IsNotFile(err error) (ok bool)
- func IsNotFound(err error) (ok bool)
- func NewVirtualDirFileInfo(name string) os.FileInfo
- type PathError
- type VirtualDirFileInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrNotFile ¶
func ErrNotFound ¶
func IsNotFound ¶
func NewVirtualDirFileInfo ¶
Types ¶
type PathError ¶
func (*PathError) AddMessage ¶
type VirtualDirFileInfo ¶
type VirtualDirFileInfo struct {
// contains filtered or unexported fields
}
func (VirtualDirFileInfo) IsDir ¶
func (d VirtualDirFileInfo) IsDir() bool
func (VirtualDirFileInfo) ModTime ¶
func (d VirtualDirFileInfo) ModTime() (t time.Time)
func (VirtualDirFileInfo) Mode ¶
func (d VirtualDirFileInfo) Mode() os.FileMode
func (VirtualDirFileInfo) Name ¶
func (d VirtualDirFileInfo) Name() string
func (VirtualDirFileInfo) Size ¶
func (d VirtualDirFileInfo) Size() int64
func (VirtualDirFileInfo) Sys ¶
func (d VirtualDirFileInfo) Sys() interface{}
Click to show internal directories.
Click to hide internal directories.