fileinfo

package
v1.16.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package fileinfo provides virtual os.FileInfo for given information.

Index

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{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL