func (s StatT) IsDir() bool {
	return s.isDir
}
IsDir returns whether file is actually a directory.
package system
import (
	"os"
	"time"
)
type StatT struct {
	name    string
	size    int64
	mode    os.FileMode
	modTime time.Time
	isDir   bool
}
func (s StatT) Name() string {
	return s.name
}
func (s StatT) Size() int64 {
	return s.size
}
func (s StatT) Mode() os.FileMode {
	return s.mode
}
func (s StatT) ModTime() time.Time {
	return s.modTime
}