Documentation ¶ Overview ¶ Package fileinfo provides virtual os.FileInfo for given information. Index ¶ type Info func New(name string, size int64, mode os.FileMode, modTime time.Time) *Info func (i *Info) IsDir() bool func (i *Info) ModTime() time.Time func (i *Info) Mode() os.FileMode func (i *Info) Name() string func (i *Info) Size() int64 func (i *Info) Sys() interface{} Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Info ¶ type Info struct { // contains filtered or unexported fields } func New ¶ func New(name string, size int64, mode os.FileMode, modTime time.Time) *Info func (*Info) IsDir ¶ func (i *Info) IsDir() bool func (*Info) ModTime ¶ func (i *Info) ModTime() time.Time func (*Info) Mode ¶ func (i *Info) Mode() os.FileMode func (*Info) Name ¶ func (i *Info) Name() string func (*Info) Size ¶ func (i *Info) Size() int64 func (*Info) Sys ¶ func (i *Info) Sys() interface{} Source Files ¶ View all Source files fileinfo.go Click to show internal directories. Click to hide internal directories.